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
> 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
xample):
>
>
>
>
>
>
> ...
>
>
>
>
>
>
> .
>
>
> resultMap="OrderMap">
>
> Select *
> FromOrder or,
> OrderItem oi
> Where or.id=#id#
> And or.id=oi.i
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