[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-6790) Add option to SequenceStyleGenerator to prefer a "sequence per entity"
Steve Ebersole (JIRA)
noreply at atlassian.com
Tue Dec 27 13:06:25 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole updated HHH-6790:
--------------------------------
Fix Version/s: (was: 4.1.0)
5.0.0
> Add option to SequenceStyleGenerator to prefer a "sequence per entity"
> -----------------------------------------------------------------------
>
> Key: HHH-6790
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6790
> Project: Hibernate Core
> Issue Type: New Feature
> Components: core
> Reporter: Steve Ebersole
> Assignee: Steve Ebersole
> Labels: generated
> Fix For: 5.0.0
>
>
> Basically this is a RFE for a corollary to {{org.hibernate.id.enhanced.TableGenerator#CONFIG_PREFER_SEGMENT_PER_ENTITY}} for the {{org.hibernate.id.enhanced.SequenceStyleGenerator}}.
> Currently, when no sequence name is given the default name (hibernate_sequence) is used. So this option would force {{org.hibernate.id.enhanced.SequenceStyleGenerator}} to determine a sequence name when none is explicitly given based on the name of the entity. The logic would be very similar to {{org.hibernate.id.enhanced.TableGenerator#determineDefaultSegmentValue}} but leveraging {{org.hibernate.id.IdentifierGenerator#ENTITY_NAME}} instead of {{org.hibernate.id.PersistentIdentifierGenerator#TABLE}}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list