HHH-5182 - Inject SessionFactory into "non-basic" Types

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19375 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2010-05-06 01:31:34 +00:00
parent e1acc33bb6
commit 190f2c99d5

View File

@ -382,7 +382,9 @@ public CollectionType getCollectionType() {
return getDefaultCollectionType();
}
else {
return TypeFactory.customCollection( typeName, typeParameters, role, referencedPropertyName, isEmbedded() );
return mappings.getTypeResolver()
.getTypeFactory()
.customCollection( typeName, typeParameters, role, referencedPropertyName, isEmbedded() );
}
}