Class Helper
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.Helper
-
public class Helper extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Helper.InLineViewNameInferrer
-
Constructor Summary
Constructors Constructor Description Helper()
-
Method Summary
-
-
-
Method Detail
-
interpretInheritanceType
public static InheritanceType interpretInheritanceType(JaxbHbmEntityBaseDefinition entityElement)
-
buildCustomSql
public static CustomSql buildCustomSql(JaxbHbmCustomSqlDmlType customSqlElement)
Given a user-specified description of how to perform custom SQL, build theCustomSql
representation.- Parameters:
customSqlElement
- User-specified description of how to perform custom SQL- Returns:
- The
CustomSql
representation
-
createCaching
public static Caching createCaching(JaxbHbmCacheType cacheElement)
-
createNaturalIdCaching
public static Caching createNaturalIdCaching(JaxbHbmNaturalIdCacheType cacheElement)
-
getPropertyAccessorName
public static String getPropertyAccessorName(String access, boolean isEmbedded, String defaultAccess)
-
getValue
public static <T> T getValue(T value, T defaultValue)
-
extractParameters
public static Map<String,String> extractParameters(List<JaxbHbmConfigParameterType> xmlParamElements)
-
createTableSource
public static TableSpecificationSource createTableSource(MappingDocument mappingDocument, TableInformationContainer entityElement, Helper.InLineViewNameInferrer inLineViewNameInferrer)
-
createTableSource
public static TableSpecificationSource createTableSource(MappingDocument mappingDocument, TableInformationContainer tableInformationContainer, Helper.InLineViewNameInferrer inLineViewNameInferrer, String rowId, String comment, String checkConstraint)
-
interpretSizeSource
public static SizeSource interpretSizeSource(Integer length, Integer scale, Integer precision)
-
interpretSizeSource
public static SizeSource interpretSizeSource(Integer length, String scale, String precision)
-
reflectedPropertyClass
public static Class reflectedPropertyClass(MetadataBuildingContext buildingContext, String attributeOwnerClassName, String attributeName)
-
reflectedPropertyClass
public static Class reflectedPropertyClass(MetadataBuildingContext buildingContext, Class attributeOwnerClass, String attributeName)
-
-