You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by HHB <hu...@yahoo.ca> on 2007/08/04 19:34:43 UTC
How to insert a row into MySQL?
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: How to insert a row into MySQL?
Posted by Clinton Begin <cl...@gmail.com>.
I'm guessing that you'd also be interested in how to get that ID back....
Check out page 20 in the Developer Guide.
http://ibatis.apache.org/javadownloads.cgi
Clinton
On 8/4/07, Zoran Avtarovski <zo...@sparecreative.com> wrote:
>
> Just do a standard insert and don't include the id column.
>
> >
> > Hi.
> > How to insert a new record in MySQL table in the case that the table
> uses an
> > auto
> > generated ID column?
> > Thanks.
>
>
>
Re: How to insert a row into MySQL?
Posted by Zoran Avtarovski <zo...@sparecreative.com>.
Just do a standard insert and don't include the id column.
>
> Hi.
> How to insert a new record in MySQL table in the case that the table uses an
> auto
> generated ID column?
> Thanks.