Well I am not sure why you would care but I would suggest that when the
insert fails, which should produce an exception, that you catch that and
then set the id field back to null.
Nathan
On 9/3/07, Lott, Neil [EMAIL PROTECTED] wrote:
Hello,
If I have a selectKey pre within an insert
This should be fixed in SVN now - if you want to try it, you can check
it out and build it.
Larry
On 9/3/07, Lott, Neil [EMAIL PROTECTED] wrote:
If I have a selectKey pre within an insert statement that I have working:
parameterMap id=create-cast-param class=castBean
parameter
I see his point, it's a pain to have it fail and then leave a mess to
clean up - no worries now, it'll be part of the next release. :-)
Larry
On 9/3/07, Nathan Maves [EMAIL PROTECTED] wrote:
Well I am not sure why you would care but I would suggest that when the
insert fails, which should
Hi Larry,
Thanks for taking care of this.
Neil
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Larry Meadors
Sent: Monday, September 03, 2007 3:49 PM
To: user-java@ibatis.apache.org
Subject: Re: select key and insert with failure
I see his point, it's