]
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: