You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Justin Lawler <ju...@eircom.net> on 2002/03/27 14:43:19 UTC
getting last inserted id
I have a mysql database that uses the native database to create a primary
key. When i insert a row, is there any easy way of getting the row id the
database created from torque?
thanks,
justin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: getting last inserted id
Posted by John McNally <jm...@collab.net>.
bo.getPrimaryKey()
Justin Lawler wrote:
>
> I have a mysql database that uses the native database to create a primary
> key. When i insert a row, is there any easy way of getting the row id the
> database created from torque?
>
> thanks,
>
> justin
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>