Mistake in selecting identity with H2/HSQLDB
--------------------------------------------

                 Key: JRUBY-2767
                 URL: http://jira.codehaus.org/browse/JRUBY-2767
             Project: JRuby
          Issue Type: Bug
          Components: ActiveRecord-JDBC
            Reporter: Peter K Chan
         Attachments: arjdbc_select_identity_fix.patch

The SQL statement used to select the last inserted record has an unncessary 
part that causes extra rows to be returned.:

"SELECT IDENTITY() FROM #{table}" should be just "SELECT IDENTITY()"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to