[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2686) Include a primary key in the sequence table used by id.enhanced.TableGenerator
Matt Solnit (JIRA)
noreply at atlassian.com
Thu Aug 28 11:54:26 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_31013 ]
Matt Solnit commented on HHH-2686:
----------------------------------
Hi Steve. It's been a while since I looked at this, but yes, I believe it was mainly the INDEX, for performance reasons. Thanks for taking the time to address it.
> 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
> Assignee: Steve Ebersole
> Priority: Minor
> Fix For: 3.3.x
>
> 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