diff --git a/hibernate-core/src/main/java/org/hibernate/hql/ast/util/SessionFactoryHelper.java b/hibernate-core/src/main/java/org/hibernate/hql/ast/util/SessionFactoryHelper.java index 8cd8755c93..760655e539 100644 --- a/hibernate-core/src/main/java/org/hibernate/hql/ast/util/SessionFactoryHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/hql/ast/util/SessionFactoryHelper.java @@ -231,7 +231,7 @@ public class SessionFactoryHelper { * @param role The collection role for which to retrieve the property mapping. * @return The property mapping. */ - private PropertyMapping getCollectionPropertyMapping(String role) { + public PropertyMapping getCollectionPropertyMapping(String role) { return ( PropertyMapping ) collectionPropertyMappingByRole.get( role ); }