How to insert a row into MySQL?

2007-08-04 Thread HHB
Hi. How to insert a new record in MySQL table in the case that the table uses an auto generated ID column? Thanks. -- View this message in context: http://www.nabble.com/How-to-insert-a-row-into-MySQL--tf4217462.html#a11998476 Sent from the iBATIS - User - Java mailing list archive at Nabble.com

RE: Basic mapping in iBatis

2007-07-31 Thread HHB
> This shud work, I guess. > > Regards > Hemant > > > > > -Original Message- > From: HHB [mailto:[EMAIL PROTECTED] > Sent: Monday, July 30, 2007 5:45 PM > To: user-java@ibatis.apache.org > Subject: RE: Basic mapping in iBatis > > > Thank you H

RE: Basic mapping in iBatis

2007-07-30 Thread HHB
xample): > > > > > > > ... > > > > > > > . > > > resultMap="OrderMap"> > > Select * > FromOrder or, > OrderItem oi > Where or.id=#id# > And or.id=oi.i

Basic mapping in iBatis

2007-07-27 Thread HHB
Hi. I have these two entites: Order and OrderItem -- class Order { List orderItems; } class OrderItems { Order order; } - How to map this relationship at the XML level? How can I load an Order with all its order items are fully initialized (no 1 + N problem plea