[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-6790) Add option to SequenceStyleGenerator to prefer a "sequence per entity"
Lukasz Antoniak (JIRA)
noreply at atlassian.com
Sat Apr 21 07:26:48 EDT 2012
[ https://hibernate.onjira.com/browse/HHH-6790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Antoniak resolved HHH-6790.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 5.0.0)
4.1.3
Assignee: Lukasz Antoniak (was: Steve Ebersole)
> Add option to SequenceStyleGenerator to prefer a "sequence per entity"
> -----------------------------------------------------------------------
>
> Key: HHH-6790
> URL: https://hibernate.onjira.com/browse/HHH-6790
> Project: Hibernate ORM
> Issue Type: New Feature
> Components: core
> Reporter: Steve Ebersole
> Assignee: Lukasz Antoniak
> Labels: generated
> Fix For: 4.1.3
>
>
> 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