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