Re: com.ibatis.sqlmap.client.SqlMapException: Duplicate prepared statement found. This is likely a bug.

2006-11-15 Thread Peter Andrews
I am sorry but I don't have the time to distill everything to a nice example. My guess is that it easy to replicate by following my essential (possibly poor) technique which is that the setter for one of my resultClass properties makes another call to the db via iBATIS (see the setGeneKey metho

Re: iBATIS Annotations - one implementation

2006-11-15 Thread Alex Ruiz
Thanks a lot Clinton!! :) Hi everybody, As Clinton said, it is a proof-of-concept. I hope you find it useful :) I just changed the syntax of the parameters from '?1.field1.fieldN' to '#1.field1.fieldN#'. It is easier to parse and keeps the syntax for parameters somewhat uniform (#sequence#).

Re: Cached list from queryForList() ...

2006-11-15 Thread Eric Tan
Hi Larry, Please ignore my previous posting. My understanding of the serializable read/write cache was totally wrong. After digging through the source code, I realized that the object is serialized to a byte array and this byte array is then cached up in memory. Subsequent queries will retri