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:
Steve Ebersole 2010-05-01 20:32:48 +00:00
parent 421789ddcd
commit 5ad3ac1295
1 changed files with 5 additions and 2 deletions

View File

@ -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;
}