Re: ibatis to return xml instead of arraylist (of hashmap).

2007-03-16 Thread netsql
No, I have not tried that yet. I was doing something similar to what Larry showed. But now I am switching to type=XML. I did not like having to jack w/ Xstream re-mapping. THANK YOU! .V ps: and congrats on the book, I saw it at a bookstore. If anyone goes to SF for Javaone or otherwise, ping me a

Re: Abator RAD 6 bug ? : problem with generatorSet attribute

2007-03-16 Thread Jeff Butler
The workaround is to upgrade to RAD 7. RAD 6 does not support version 1.0of Abator because it is only eclipse 3.0. So only features of Abator that were in version 0.6.5 are supported (generatorSet is not one of this features). When forced to use RAD 6, I prefer to run Abator with the Ant suppor

Abator RAD 6 bug ? : problem with generatorSet attribute

2007-03-16 Thread Koen De Jaeger
Hello people, I wanted to use the eclipse plugin because it merges the generated files automatically. The problem I have is that running abator in this way does not accept the generatorSet attribute. (it works in eclipse but not in RAD) If I specify it like this : I get the error : XML Pars

Re: iBATIS in Action errata

2007-03-16 Thread Larry Meadors
Not that I am aware of...not yet anyway. Did you find something? Larry On 3/16/07, Ted Schrader <[EMAIL PROTECTED]> wrote: Hello, Does the book have an errata listing/submission page? I prodded manning.com a bit but couldn't find much. Thanks, Ted

iBATIS in Action errata

2007-03-16 Thread Ted Schrader
Hello, Does the book have an errata listing/submission page? I prodded manning.com a bit but couldn't find much. Thanks, Ted

Re: Interview at Inventum (was: Retrieving wrong result out of the Cache.)

2007-03-16 Thread Larry Meadors
Stupid auto-replies. He's already been unsubscribed. :-) Larry On 3/16/07, Niels Beekman <[EMAIL PROTECTED]> wrote: Please take your spam elsewhere… From: Padam J Singh [mailto:[EMAIL PROTECTED] Sent: vrijdag 16 maart 2007 12:23 To: user-java@ibati

SQLWarnings

2007-03-16 Thread Azly Nacro
Hi, When using an sqlMapClient to make a call, is there any way to get back the SQLWarnings from the statement ? If no, how can we do that ? Thanks -- ..--. |o_o | |:_/ | // \ \ (| | ) /'\_ _/`\ Azly Nacro \___)=(___/ Do you Linux ?

RE: Retrieving wrong result out of the Cache.

2007-03-16 Thread Meindert
Hi Larry, Thanks for taking the time and assisting me. Changing readOnly="false" has as results that the cache isn't hit anymore: DEBUG - Cache 'Employee.selectEmpNameCache': cache miss DEBUG - {conn-100291} Preparing Statement: SELECT DEBUG - {pstm-100294} Executing Stateme

RE: Interview at Inventum (was: Retrieving wrong result out of the Cache.)

2007-03-16 Thread Niels Beekman
Please take your spam elsewhere... From: Padam J Singh [mailto:[EMAIL PROTECTED] Sent: vrijdag 16 maart 2007 12:23 To: user-java@ibatis.apache.org Subject: Interview at Inventum (was: Retrieving wrong result out of the Cache.) Hello, Your resume has been

Interview at Inventum (was: Retrieving wrong result out of the Cache.)

2007-03-16 Thread Padam J Singh
Hello, Your resume has been shortlisted for interview at Inventum Technologies Pvt Ltd. (http://www.inventum.cc). In order to start the interview process, you need to fill-up an online form to schedule the interview. The form is available at: http://www.inventum.cc/application/job_engg_mar20

Interview at Inventum (was: Retrieving wrong result out of the Cache.)

2007-03-16 Thread Padam J Singh
Hello, Your resume has been shortlisted for interview at Inventum Technologies Pvt Ltd. (http://www.inventum.cc). In order to start the interview process, you need to fill-up an online form to schedule the interview. The form is available at: http://www.inventum.cc/application/job_engg_mar20

Re: Retrieving wrong result out of the Cache.

2007-03-16 Thread Larry Meadors
Can you try changing your cache model definition to include and try it again? My guess is that between the first fetch and the second, the cached data is altered, and then the altered version is fetched again. Larry On 3/14/07, Meindert <[EMAIL PROTECTED]> wrote: Hi there, My cache i

Interview at Inventum (was: Lazy loading issues)

2007-03-16 Thread Padam J Singh
Hello, Your resume has been shortlisted for interview at Inventum Technologies Pvt Ltd. (http://www.inventum.cc). In order to start the interview process, you need to fill-up an online form to schedule the interview. The form is available at: http://www.inventum.cc/application/job_engg_mar20

RE: Retrieving wrong result out of the Cache.

2007-03-16 Thread Meindert
Upgrading to version 3 didn't fix it. I had a closer look at the cache hit statement: Cache 'Employee.selectEmpNameCache': retrieved object '[EMAIL PROTECTED]' This 3 at the end of the cache object is the value put in my ID field. That sounds a bit cryptic, let's explain it this way: I'v

RE: Retrieving wrong result out of the Cache.

2007-03-16 Thread Meindert
I'm on version 2.2.0.638 and I'll do the upgrade to 2.3 now. I read that; iBATIS 2.2.0 is also available. iBATIS 2.2.0 is the last release that includes the iBATIS DAO framework. After 2.2.0, the DAO iBATIS framework is removed from the downloads. We suggest converting iBATIS framework DAOs to

Re: Retrieving wrong result out of the Cache.

2007-03-16 Thread Jeff Butler
What version of iBATIS are you using? There was a problem with caching, but it was fixed quite a while ago. Jeff Butler On 3/16/07, Meindert <[EMAIL PROTECTED]> wrote: Anyone who knows what I'm doing wrong or is encountering the same issue? >Hi there, My cache is returning the wrong

RE: Retrieving wrong result out of the Cache.

2007-03-16 Thread Meindert
Anyone who knows what I'm doing wrong or is encountering the same issue? >Hi there, My cache is returning the wrong ID, for instance the statement Select ID from X where ID=3 is returning not 3! Here are the code sniplets I have that are producing the wrong data (after the cache has be

Re: Support for database specific SQL config

2007-03-16 Thread Jeff Butler
You could accomplish this by writing your own implementation for the element. Your implementation could delegate to some existing implementation, but set up the connection before returning it to iBATIS. Jeff Butler On 3/15/07, Collin Peters <[EMAIL PROTECTED]> wrote: Hello again, I am won

RE: Lazy loading issues

2007-03-16 Thread Wouter Roose
Anybody? _ Van: Wouter Roose [mailto:[EMAIL PROTECTED] Verzonden: maandag 12 maart 2007 8:49 Aan: user-java@ibatis.apache.org Onderwerp: Lazy loading issues Hello Concerning http://opensour