I've been through the user guide and the test cases but don't see a good
example of doing an insert or update with a Object using a annotation
e.g.
@Update("INSERT INTO foo (bar_1, bar_2) VALUES (#{bar1}, #{bar2})")
void update(SomeObject obj);
What am I missing?
-Doug
From: An
Subject: Re: [iBatis 3] insert/update via annotation w/ object example
On Wed, Aug 26, 2009 at 1:10 PM, Douglas Bell wrote:
>
> I've been through the user guide and the test cases but don't see a
good example of doing an insert or update with a Object using a
annotation
>
Original Message-
From: Douglas Bell [mailto:db...@boingo.com]
Sent: Wednesday, August 26, 2009 12:33 PM
To: user-java@ibatis.apache.org
Subject: RE: [iBatis 3] insert/update via annotation w/ object example
Thanks Rick,
It was a typo on my part :| works as expected now.
One last questio
Ditto.
From: Zoran Avtarovski [mailto:zo...@sparecreative.com]
Sent: Thursday, August 27, 2009 4:25 PM
To: iBatis Java Mail List; Clinton Begin
Subject: Re: iBATIS 3.0 selectOne SessionException if no data found
I for one would prefer null. I like the idea of testing for null rather than
I'm trying to do the following using beta 5 (this was working in beta 3)
@Select("SELECT COUNT(username) FROM record WHERE username =
#{username,jdbcType=VARCHAR}")
Boolean isExisting(String username);
I get a ClassCastException: java.lang.Long cannot be cast to
java.lang.Boolean which is underst
Hi Gilles,
Earlier this year we discovered an issue with DBCP 1.2.1 while diagnosing a
hanging Tomcat instance.
We did a kill -3 on Tomcat trying to figure out what the heck was going on and
caught a trace with 100+ hung/deadlocked connection threads. We updated to DBCP
1.2.2 and all wa