[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-6692) An Integrator cannot set NamingStrategy in the new Metamodel API (it's possible in Configuration)

Steve Ebersole (JIRA) noreply at atlassian.com
Tue Dec 27 12:50:20 EST 2011


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

Steve Ebersole updated HHH-6692:
--------------------------------

    Affects Version/s:     (was: 4.1.0)
                       5.0.0
               Labels: metamodel  (was: )

> An Integrator cannot set NamingStrategy in the new Metamodel API (it's possible in Configuration)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HHH-6692
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6692
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: metamodel
>    Affects Versions: 5.0.0
>            Reporter: Emmanuel Bernard
>              Labels: metamodel
>
> {code}
> public class MyIntegrator implements Integrator, ServiceContributingIntegrator {
> 	@Override
> 	public void integrate(Configuration configuration, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry) {
> 		configuration.setNamingStrategy( MyNamingStrategy.INSTANCE );
> 	}
> 	@Override
> 	public void integrate(MetadataImplementor metadata, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry) {
> 		//FIXME how to do it here?
> 	}
> }
> {code}

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