HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19336 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
421789ddcd
commit
5ad3ac1295
|
@ -63,8 +63,11 @@ public final class TypeFactory implements Serializable {
|
|||
private SessionFactoryImplementor factory;
|
||||
|
||||
public void injectSessionFactory(SessionFactoryImplementor factory) {
|
||||
if ( factory != null ) {
|
||||
log.warn( "Scoping types to session factory7 after already scoped" );
|
||||
if ( this.factory != null ) {
|
||||
log.warn( "Scoping types to session factory {} after already scoped {}", this.factory, factory );
|
||||
}
|
||||
else {
|
||||
log.trace( "Scoping types to session factory {}", factory );
|
||||
}
|
||||
this.factory = factory;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue