You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Barnett, Brian W." <bb...@scholarinc.com> on 2005/01/27 19:15:45 UTC
RE: [OT] Re: Another ODBC OT Question
I'm familiar with SQL Server and Oracle, but not MySQL. I suggest you follow
DGraham's search results, or google for MySQL, auto increment, primary keys.
-----Original Message-----
From: DGraham@EvergreenInvestments.com
[mailto:DGraham@EvergreenInvestments.com]
Sent: Thursday, January 27, 2005 11:23 AM
To: Struts Users Mailing List
Subject: [OT] Re: Another ODBC OT Question
I googled this:
http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=GGLD,GGLD:2004-
11,GGLD:en&q=jdbc+mysql+auto%5Fincrement
and found this:
http://dev.mysql.com/tech-resources/articles/autoincrement-with-connectorj.h
tml
It was too easy, so it's probably the wrong thing.
Brandon Mercer <br...@eutonian.com>
01/27/2005 01:17 PM
Please respond to
"Struts Users Mailing List" <us...@struts.apache.org>
To
Struts Users Mailing List <us...@struts.apache.org>
cc
Subject
Re: Another ODBC OT Question
Barnett, Brian W. wrote:
>What rdbms are you using?
>
>
Sorry, that would have been helpful huh! lol MySQL Connector/J
(obviously) 3.0.x. I think I know how to get the last id... but do I
create another insert the same way I did the first?
Thanks,
Brandon
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org