Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Beans > Re: Obtaining S...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 1386 of 1403
Post > Topic >>

Re: Obtaining SQL insert auto generated key from query within JSP

by Mark Space <markspace@[EMAIL PROTECTED] > Sep 11, 2008 at 11:51 AM

Damon Getsman wrote:

> Unfortunate, but that's the way it is.  Anyway, I need to be able to
> determine the auto generated primary index field for the record that I

I'm guessing here but probably something like:

<sql:query>
   select LAST_INSERT_ID();
</sql:query>

Do a search on that sql function, see what comes up. It's connection 
oriented so I'm hoping the JSP will maintain an open connection for ya.
 




 4 Posts in Topic:
Obtaining SQL insert auto generated key from query within JSP
Damon Getsman <dgetsma  2008-09-11 07:26:04 
Re: Obtaining SQL insert auto generated key from query within JS
Damon Getsman <dgetsma  2008-09-11 07:30:10 
Re: Obtaining SQL insert auto generated key from query within JS
Mark Space <markspace@  2008-09-11 11:51:43 
Re: Obtaining SQL insert auto generated key from query within JS
Damon Getsman <dgetsma  2008-09-11 13:21:43 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 0:18:54 CST 2008.