[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4492) Add support for global ID generators in hbm.xml config

Kenny MacLeod (JIRA) noreply at atlassian.com
Tue Oct 13 10:52:41 EDT 2009


Add support for global ID generators in hbm.xml config
------------------------------------------------------

                 Key: HHH-4492
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4492
             Project: Hibernate Core
          Issue Type: New Feature
    Affects Versions: 3.3.2
            Reporter: Kenny MacLeod
            Priority: Minor


With hbm.xml-style mappings, there's no way to define "global" identifier generator definitions. Each class mapping must have its own generator specified.  In cases where every class has an identical generator stragegy, and that strategy involves numerous option properties, this gets quite tedious.

When using JPA-style config this *is* possible, e.g. using the generator attribute of @GeneratedValue.

Can we have application-scoped generator definitions for old-style hbm.xml configuration, please?

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