HHH-15407 Need to expose more internal state from MetadataImpl to allow copies of metadata instances

This commit is contained in:
Sanne Grinovero 2022-07-14 12:33:21 +01:00 committed by Sanne Grinovero
parent 1f31284f33
commit f7de8a8146
1 changed files with 20 additions and 0 deletions

View File

@ -500,4 +500,24 @@ public class MetadataImpl implements MetadataImplementor, Serializable {
return bootstrapContext;
}
public Map<String, NamedHqlQueryDefinition> getNamedQueryMap() {
return namedQueryMap;
}
public Map<String, NamedNativeQueryDefinition> getNamedNativeQueryMap() {
return namedNativeQueryMap;
}
public Map<String, NamedProcedureCallDefinition> getNamedProcedureCallMap() {
return namedProcedureCallMap;
}
public Map<String, NamedResultSetMappingDescriptor> getSqlResultSetMappingMap() {
return sqlResultSetMappingMap;
}
public java.util.List<org.hibernate.mapping.Component> getComposites() {
return composites;
}
}