Re: caching question

2007-07-25 Thread Aram Mkhitaryan
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

Re: ibatis configuration

2007-07-25 Thread Aram Mkhitaryan
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

caching question

2007-07-25 Thread Shan Syed
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?

Re: ibatis configuration

2007-07-25 Thread Jeff Butler
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

RE: ibatis configuration

2007-07-25 Thread Yee, Richard K CTR DMDC
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

ibatis configuration

2007-07-25 Thread ibrahim demir
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

RE: Problem with nullpoiterException.

2007-07-25 Thread Niels Beekman
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

RE: Problem with nullpoiterException.

2007-07-25 Thread Jdev
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) {