[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2686) Include a primary key in the sequence table used by id.enhanced.TableGenerator

Matt Solnit (JIRA) noreply at atlassian.com
Mon Jun 25 19:06:52 EDT 2007


Include a primary key in the sequence table used by id.enhanced.TableGenerator
------------------------------------------------------------------------------

                 Key: HHH-2686
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2686
             Project: Hibernate3
          Issue Type: Improvement
    Affects Versions: 3.2.3
         Environment: Mac OS X (Intel) 10.4.9, Java 1.5.0_07, Hibernate 3.2.3.ga, MySQL 5.0.24a
            Reporter: Matt Solnit
            Priority: Minor
         Attachments: TableGenerator.java.diff

It would be great if the new TableGenerator used a primary key on the "sequence_name" column.  This would most likely improve performance when you have a large number of "sequences" in the table.  I attempted to provide a patch :-).

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list