Author: steve.ebersole(a)jboss.com
Date: 2010-05-01 16:32:48 -0400 (Sat, 01 May 2010)
New Revision: 19336
Modified:
core/trunk/core/src/main/java/org/hibernate/type/TypeFactory.java
Log:
HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
Modified: core/trunk/core/src/main/java/org/hibernate/type/TypeFactory.java
===================================================================
--- core/trunk/core/src/main/java/org/hibernate/type/TypeFactory.java 2010-05-01 18:20:26
UTC (rev 19335)
+++ core/trunk/core/src/main/java/org/hibernate/type/TypeFactory.java 2010-05-01 20:32:48
UTC (rev 19336)
@@ -63,9 +63,12 @@
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;
}
Show replies by date