users@glassfish.java.net

How do i get the mysql_insert_id

From: <glassfish_at_javadesktop.org>
Date: Mon, 12 May 2008 11:25:04 PDT

I did this

            statement.execute(mytable.insertRow("ordercustomerinfo",datafields),Statement.RETURN_GENERATED_KEYS );


and i want to get the key of the row inserted.
anyone know how to get the last row inserted id?
[Message sent by forum member 'flyingbuzz' (flyingbuzz)]

http://forums.java.net/jive/thread.jspa?messageID=273871