[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6107) Metamodel dependence on ServiceRegistry

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Apr 11 12:42:59 EDT 2011


Metamodel dependence on ServiceRegistry
---------------------------------------

                 Key: HHH-6107
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6107
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 4.0.0.Alpha2
            Reporter: Steve Ebersole
            Assignee: Steve Ebersole
             Fix For: 4.0.0.Alpha3


There are 2 options here:
# Metadata can take a ServiceRegistry as ctor param : new Metadata( serviceRegistry )
## this will be the short term solution
# serviceRegistry.getService( Metadata.class )
## possibly the long term solution
## pro/con: metadata lives on as part of SessionFactory (would continue to be available)
## possible first step to allowing "changes on the fly"
## maybe utilize internal caching (not our cache API) rather than simple maps to leverage disk storage capabilities of the cache (infinispan or ehcache)

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