From: <leg...@at...> - 2003-10-04 09:10:23
|
The following comment has been added to this issue: Author: Gavin King Created: Sat, 4 Oct 2003 4:10 AM Body: DatabaseMetadata.supportsGetGeneratedKeys() is not available in JDBC 2.0. Otherwise the patch looks reasonable (though it appears that some stuff might be able to be refactored up to AbstractEntityPersister, perhaps). --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-380 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-380 Summary: Use ResultSet.getGeneratedKeys() when supported by JDBC driver Type: Improvement Status: Unassigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 Assignee: Reporter: David Morris Created: Sat, 4 Oct 2003 1:02 AM Updated: Sat, 4 Oct 2003 1:05 AM Environment: JDBC 3.0 Drivers with 1.4 JDKs. MySql and DB2 both have JDBC drivers that support get generated keys. Description: Retrieve ResultSet of natively generated keys after inserting records into databases that provide this support. Performance is genrally better with this technique. The code change should be backward compatable with 1.3 JREs and older JDBC drivers. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |