mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
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 CollectionType getCollectionType() {
|
||||
return getDefaultCollectionType();
|
||||
}
|
||||
else {
|
||||
return TypeFactory.customCollection( typeName, typeParameters, role, referencedPropertyName, isEmbedded() );
|
||||
return mappings.getTypeResolver()
|
||||
.getTypeFactory()
|
||||
.customCollection( typeName, typeParameters, role, referencedPropertyName, isEmbedded() );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user