[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-1907) offload metadata information from ComponentType to SessionFactory

Steve Ebersole (JIRA) noreply at atlassian.com
Tue Dec 27 13:06:29 EST 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole updated HHH-1907:
--------------------------------

    Fix Version/s:     (was: 4.1.0)
                   5.0.0

> offload metadata information from ComponentType to SessionFactory
> -----------------------------------------------------------------
>
>                 Key: HHH-1907
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1907
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: core
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>             Fix For: 5.0.0
>
>
> Specifically, we need to move all the code directly dealing with property-access, instantiation, etc out of here.  So where do we move it?  Well, EntityType for example moves this stuff off to the persisters; the type then just looks up the persister when needed.  Not sure we actually need a persister per-se for handling components; perhaps just ComponentMetamodel is enough...
> Why is this important?  Well the way ComponentType is currently structured leads to the need for certain configuration properties to be classloader scoped (static on Environment) instead of SessionFactory scoped.  This is painful for two in particular: 1) whether to use reflection optimization and 2) bytecode provider.
> Also, this change should allow us to cleanup how property accessors are built
> Long term it would facilitate the ability to have hierarchies of components as well as loading components in a 2-phase-load paradigm like entities and collections.

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