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