[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5386) The ability to provide Hibernate with a custom implementation of the auto-increment function for new entity PK generation.

Bill DeCoste (JIRA) noreply at atlassian.com
Thu Jul 15 10:53:13 EDT 2010


The ability to provide Hibernate with a custom implementation of the auto-increment function for new entity PK generation.
--------------------------------------------------------------------------------------------------------------------------

                 Key: HHH-5386
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5386
             Project: Hibernate Core
          Issue Type: New Feature
            Reporter: Bill DeCoste




 

-          Use case:  We'd like to be able to create custom unique identifiers (64-bit object IDs that take advantage of our domain space to provide compact UUIDs, for example).  We understand the PKClass functionality which allows us to get part of the way there, but we'd like to be able to combine this functionality with Hibernate's auto-increment functionality.

 

-          Something that's been contemplated here is an easy way to specify automatic hierarchical primary keys.  In other words if I have two entities, A and B, and B is ALWAYS an embedded entity of A, it'd be great to be able to tell Hibernate to structure the skill identifier as a compound PK composed of A ID and B ID.

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