类 Helper
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.Helper
-
public class Helper extends Object
- 作者:
- Steve Ebersole, Gail Badner
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static interfaceHelper.InLineViewNameInferrer
-
构造器概要
构造器 构造器 说明 Helper()
-
方法概要
-
-
-
方法详细资料
-
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 theCustomSqlrepresentation.- 参数:
customSqlElement- User-specified description of how to perform custom SQL- 返回:
- The
CustomSqlrepresentation
-
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)
-
-