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:
parent
e1acc33bb6
commit
190f2c99d5
|
@ -382,7 +382,9 @@ public abstract class Collection implements Fetchable, Value, Filterable {
|
|||
return getDefaultCollectionType();
|
||||
}
|
||||
else {
|
||||
return TypeFactory.customCollection( typeName, typeParameters, role, referencedPropertyName, isEmbedded() );
|
||||
return mappings.getTypeResolver()
|
||||
.getTypeFactory()
|
||||
.customCollection( typeName, typeParameters, role, referencedPropertyName, isEmbedded() );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue