RE: iBATIS caching / transaction isolation question

2009-01-19 Thread Young, Alistair
Me again... :) I was having a think about this over the weekend and realized that the behaviour I'm after would be very difficult to implement (and possibly very inefficient), so perhaps iBATIS does NOT behave in this way. It struck me that, if iBATIS were maintaining multiple caches AND

Re: ibator build error

2009-01-19 Thread Dan Turkenkopf
Hi Shao, It looks like you've run into a bug in the current release of Ibator where the DAO generator is required. It's been fixed in Subversion, so you can either build from source or add the daoGenerator element to your config. Here's an example: daoGenerator type=SPRING

Re: ibatis db pool or dbcp

2009-01-19 Thread Rick
On Sun, Jan 18, 2009 at 2:22 PM, Zsolt Koppany zkoppanyl...@intland.com wrote: Hi, which database pool is recommended for production usage? The pool shipped with ibatis or dbcp? We use ibatis 2.3.4.726. I'm curious about this also. I heard the ibatis common pool is fine for production. Are

Re: path tho the sqlmapconfig.xml file

2009-01-19 Thread Larry Meadors
Add the directory with the files to the classpath when you start java. java -cp your classpath here:your directory here your class here Larry On Mon, Jan 19, 2009 at 3:52 AM, André Bernis andreber...@gmail.com wrote: I have exactly the same problem!

Re: Sybase issue... TEXT column when null insert/updates fail, but when defined as VARCHAR nulls work?

2009-01-19 Thread Christopher . Mathrusse
Sorry, I overlooked the fact that I didn't provide it. As far as I know, there are no plans to change the implementation in JConnect. On occasion, I can sometimes get them to correct a bug when I scout it out, but issues like this are up to the powers that be that decide the priority of the

Nested attributes / class instances and PropertyClass.

2009-01-19 Thread JeanNiBee
I'm trying to determine if this can be done in iBatis using a query (insert). Class Person { // for brevity assume the setters / getters are public just not shown private Address address; private String name; } Class Address { // Same here setters / getters just not shown

Re: Nested attributes / class instances and PropertyClass.

2009-01-19 Thread Rick
Yup. On Mon, Jan 19, 2009 at 8:51 PM, JeanNiBee john.bate...@nuance.com wrote: I'm trying to determine if this can be done in iBatis using a query (insert). Class Person { // for brevity assume the setters / getters are public just not shown private Address address; private String

Re: performance hit if not declaring parameterClass in sqlMap definitions?

2009-01-19 Thread Rick
dang I hate gmail sometimes. I need to remove this address.. I keep meaning to send to the user list and often start typing 'ibatis..' in gmail and this comes up first. Sorry about that. On Mon, Jan 19, 2009 at 9:24 PM, Rick ric...@gmail.com wrote: I usually leave off naming the parameter class

performance hit if not declaring parameterClass in sqlMap definitions?

2009-01-19 Thread Rick
I usually leave off naming the parameter class in my sqlMap definitions. Is there a performance hit leaving off this declaration? -- Rick

Re: ibatis db pool or dbcp

2009-01-19 Thread Nathan Maves
both are production quality dbcp is a more configurable but requires a 3rd party lib On Mon, Jan 19, 2009 at 8:45 AM, Rick ric...@gmail.com wrote: On Sun, Jan 18, 2009 at 2:22 PM, Zsolt Koppany zkoppanyl...@intland.com wrote: Hi, which database pool is recommended for production usage?

Re: performance hit if not declaring parameterClass in sqlMap definitions?

2009-01-19 Thread Clinton Begin
Yes, minor. The biggest difference is that it ends up using the UnknownTypeHandler, which does have to figure out the types at runtime. Clinton On Mon, Jan 19, 2009 at 7:25 PM, Rick ric...@gmail.com wrote: I usually leave off naming the parameter class in my sqlMap definitions. Is there a

Re: iBATIS caching / transaction isolation question

2009-01-19 Thread Clinton Begin
That's a fair assumption. FWIW: iBATIS 3 will have a transactional cache. It might not catch every case, but it will catch most, and can be unit tested to ensure that it behaves as intended. Clinton On Mon, Jan 19, 2009 at 2:22 AM, Young, Alistair alistair.yo...@logica.comwrote: Me again...