commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: [DbUtils] Retrieving Auto Generated Keys
Date Sun, 30 May 2004 18:14:38 GMT

--- Mikhail Krivoshein <info@mikkri.com> wrote:
> Hello all,
> 
> Looks like there is no way to retrieve auto generated keys when using 
> DbUtils QueryRunner.
> I guess it is good idea to extend QueryRunner in way that it will 
> support something like
> 
> Object getGeneratedKeys(ResultSetHandler rsh)
> 
> method to convet generated keys data into Object.
> 
> Really I need this code for my project and ready to implement this by 
> myself.
> Looking forward to hear comments.
> 
> Best regards,
> Mikhail Krivoshein
> 
> P.s. I see one problem. getGeneratedKeys() method is part of JDBC 3.0. 
> Perhaps, it may be issue.

That's exactly why DbUtils doesn't support it yet.  I'd be interested in
any solutions you come up with.

David




	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message