Author: steve.ebersole(a)jboss.com
Date: 2010-05-05 21:31:34 -0400 (Wed, 05 May 2010)
New Revision: 19375
Modified:
core/trunk/core/src/main/java/org/hibernate/mapping/Collection.java
Log:
HHH-5182 - Inject SessionFactory into "non-basic" Types
Modified: core/trunk/core/src/main/java/org/hibernate/mapping/Collection.java
===================================================================
--- core/trunk/core/src/main/java/org/hibernate/mapping/Collection.java 2010-05-06
01:05:26 UTC (rev 19374)
+++ core/trunk/core/src/main/java/org/hibernate/mapping/Collection.java 2010-05-06
01:31:34 UTC (rev 19375)
@@ -382,7 +382,9 @@
return getDefaultCollectionType();
}
else {
- return TypeFactory.customCollection( typeName, typeParameters, role,
referencedPropertyName, isEmbedded() );
+ return mappings.getTypeResolver()
+ .getTypeFactory()
+ .customCollection( typeName, typeParameters, role, referencedPropertyName,
isEmbedded() );
}
}
Show replies by date