The subselect is still full functional select,
I think it doesn't matter where it is called, I mean It should be so!
To be sure ...
You can switch logging on and see if it puts your object in the cache,
If it does, it will log a message that your object is putted in the cache,
and when you resele
and i do not column_1 and column_2 to be mapped. Is there a way of
> excluidng these columns
If you mean iBATIS config files,
if you specify resultMap for your statement you can manually specify in that
map which columns should be mapped.
...
//here will go everything except
column_1 an
If I apply a cache model to a SELECT function in my config, but don't call
this function directly through my Java code - rather as a "subselect"
through a resultMap, will the result of that subselect still be cached?
I assume you are talking about Abator - not iBATIS. If so...
1. You can exclude any column from code generation using the
element
2. You could write your own DAO generator - but this is probably more than
you want to do.
3. You can specify the "rootClass" property on the
element
Take a look a
With iBATIS, since you are supplying the SQL statements to execute, you have
complete control over what values you return from the database and how the
values are mapped to your result map/JavaBean.
-R
-Original Message-
From: ibrahim demir [mailto:[EMAIL PROTECTED]
Sent: Wednesday, Ju
Hi all;
I have questions about configuring ibatis.
1-Is there a way of blocking the code generation of some columns on
some tables. For examle i have table_mytable and it has
column_1
column_2
column_3
column_4
and i do not column_1 and column_2 to be mapped. Is ther
Hi,
Why did you comment the initalization of rowBeheer[i]? That blows stuff
up... Also, why are you performing beanfield copying between Beheer and
RowBeheer, why not directly return the Beheer class?
No offense, but these are all basic Java programming questions/problems,
try following some tuto
Correct, I have adapted it with this
rowBeheer = new RowBeheer[resultList.size()];
Now I get still the same error, nullpoiterexception
In my stacktrace i get a error on line
rowBeheer[i].setReferentienummer(beheer.getReferentienummer());
public RowBeheer[] readBeheerList1(String ondnr) {