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

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Sep 29 11:20:28 EDT 2011


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: 4.1.0
            Reporter: Emmanuel Bernard


{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