Hi,
Is it possible to configure Abator to
generate code for “update” method to auto insert?
The code will first try to update the
record, if the record doesn't exist in the database, it will perform
an insert?
Thanks
Doug
Create a View in the database that join multiple tables and let Abator generate
code on that view just like you do with Table. This would generate ViewExample
class.
Doug
- Original Message
From: Jeff Butler <[EMAIL PROTECTED]>
To: user-java@ibatis.apache.org
Sent: Thursday, August 7
hen (a)ibator will generate the for you. This is the best
solution, I think.
Jeff Butler
On Thu, Aug 7, 2008 at 2:45 PM, Doug Flex <[EMAIL PROTECTED]> wrote:
Hi,
I want to get the primary key (which is auto increment) return to my object
after the insert statement. I don't w
Hi,
I want to get the primary key (which is auto increment) return to my object
after the insert statement. I don't want to modify the generated insert
statement from Sqlmap because I want to continue to take advantage of the
generated code for future changes in the database. Is there a way t
page:
http://ibatis.apache.org/
http://ibatis.apache.org/javadownloads.cgi
Cheers,
Clinton
On Sun, Aug 3, 2008 at 9:22 AM, Doug Flex <[EMAIL PROTECTED]> wrote:
Hi Jeff,
Thanks for your proposed solution. It looks very promising and it should work,
but it doesn't. I got the same er
utler
On Thu, Jul 31, 2008 at 11:10 AM, Doug Flex <[EMAIL PROTECTED]> wrote:
Hi,
I have a problem with Null Pointer Exception when trying to use SelectByExample
with enum criteria.
I have done the following to seek for answer but have no success yet. Please
help!
- google
- looke
Hi,
I have a problem with Null Pointer Exception when trying to use SelectByExample
with enum criteria.
I have done the following to seek for answer but have no success yet. Please
help!
- google
- looked through iBatis FAQ
- looked through iBatis WIKI
- looked thought iBatis mailing archive