Uses of Class
org.hibernate.engine.jdbc.Size
Packages that use Size
Package
Description
Some SPIs related to DDL generation and schema management.
This package abstracts over the multifarious dialects of SQL
understood by the databases supported by Hibernate.
Support for temporary tables.
Support for various aspects of JDBC interaction.
This package defines the Hibernate configuration-time mapping model.
Defines the runtime mapping metamodel, which describes the mapping
of the application's domain model parts (entities, attributes) to
relational database objects (tables, columns).
A Hibernate
Type
is a strategy for mapping a Java
property type to a JDBC type or types.Defines handling of almost the full range of standard JDBC-defined SQL data types.
An API for working with abstract families of DDL types
parameterized by varying length, precision, and scale.
Includes several general-purpose implementations of
DdlType
.Defines a registry for
DdlType
s.-
Uses of Size in org.hibernate.boot.model.relational
Methods in org.hibernate.boot.model.relational with parameters of type SizeModifier and TypeMethodDescriptionprotected static int
ColumnOrderingStrategyStandard.physicalSizeInBytes
(int sqlTypeCode, Size columnSize, Metadata metadata) -
Uses of Size in org.hibernate.dialect
Methods in org.hibernate.dialect that return SizeModifier and TypeMethodDescriptionDialect.SizeStrategy.resolveSize
(JdbcType jdbcType, JavaType<?> javaType, Integer precision, Integer scale, Long length) default Size
Dialect.SizeStrategy.resolveSize
(JdbcType jdbcType, JavaType<?> javaType, Size size) Dialect.SizeStrategyImpl.resolveSize
(JdbcType jdbcType, JavaType<?> javaType, Integer precision, Integer scale, Long length) Methods in org.hibernate.dialect with parameters of type SizeModifier and TypeMethodDescriptionvoid
OracleArrayJdbcType.addAuxiliaryDatabaseObjects
(JavaType<?> javaType, BasicValueConverter<?, ?> valueConverter, Size columnSize, Database database, JdbcTypeIndicators context) void
OracleEnumJdbcType.addAuxiliaryDatabaseObjects
(JavaType<?> javaType, BasicValueConverter<?, ?> valueConverter, Size columnSize, Database database, JdbcTypeIndicators context) void
PostgreSQLEnumJdbcType.addAuxiliaryDatabaseObjects
(JavaType<?> javaType, BasicValueConverter<?, ?> valueConverter, Size columnSize, Database database, JdbcTypeIndicators context) default Size
Dialect.SizeStrategy.resolveSize
(JdbcType jdbcType, JavaType<?> javaType, Size size) -
Uses of Size in org.hibernate.dialect.function.array
Methods in org.hibernate.dialect.function.array with parameters of type SizeModifier and TypeMethodDescriptionstatic String
DdlTypeHelper.getCastTypeName
(JdbcMappingContainer type, Size size, TypeConfiguration typeConfiguration) static String
DdlTypeHelper.getCastTypeName
(ReturnableType<?> type, Size size, TypeConfiguration typeConfiguration) static String
DdlTypeHelper.getCastTypeName
(BasicType<?> type, Size size, TypeConfiguration typeConfiguration) static String
DdlTypeHelper.getTypeName
(JdbcMappingContainer type, Size size, TypeConfiguration typeConfiguration) static String
DdlTypeHelper.getTypeName
(ReturnableType<?> type, Size size, TypeConfiguration typeConfiguration) static String
DdlTypeHelper.getTypeName
(BasicType<?> type, Size size, TypeConfiguration typeConfiguration) -
Uses of Size in org.hibernate.dialect.temptable
Methods in org.hibernate.dialect.temptable that return SizeConstructors in org.hibernate.dialect.temptable with parameters of type SizeModifierConstructorDescriptionTemporaryTableColumn
(TemporaryTable containingTable, String columnName, JdbcMapping jdbcMapping, String sqlTypeName, Size size, boolean nullable) TemporaryTableColumn
(TemporaryTable containingTable, String columnName, JdbcMapping jdbcMapping, String sqlTypeName, Size size, boolean nullable, boolean primaryKey) TemporaryTableSessionUidColumn
(TemporaryTable containingTable, JdbcMapping jdbcMapping, String sqlTypeName, Size size) -
Uses of Size in org.hibernate.engine.jdbc
Methods in org.hibernate.engine.jdbc that return SizeModifier and TypeMethodDescriptionstatic Size
Size.length
(long length) static Size
Size.length
(long length, Size.LobMultiplier lobMultiplier) static Size
Size.nil()
static Size
Size.precision
(int precision) static Size
Size.precision
(int precision, int scale) Size.setArrayLength
(Integer arrayLength) Size.setLobMultiplier
(Size.LobMultiplier lobMultiplier) Deprecated, for removal: This API element is subject to removal in a future version.Size.setPrecision
(Integer precision) Methods in org.hibernate.engine.jdbc with parameters of type Size -
Uses of Size in org.hibernate.mapping
Methods in org.hibernate.mapping that return SizeModifier and TypeMethodDescriptionColumn.getColumnSize
(Dialect dialect, Mapping mapping) Deprecated.Column.getColumnSize
(Dialect dialect, MappingContext mappingContext) -
Uses of Size in org.hibernate.metamodel.mapping
Methods in org.hibernate.metamodel.mapping that return Size -
Uses of Size in org.hibernate.type
Methods in org.hibernate.type that return Size -
Uses of Size in org.hibernate.type.descriptor.jdbc
Methods in org.hibernate.type.descriptor.jdbc with parameters of type SizeModifier and TypeMethodDescriptiondefault void
JdbcType.addAuxiliaryDatabaseObjects
(JavaType<?> javaType, BasicValueConverter<?, ?> valueConverter, Size columnSize, Database database, JdbcTypeIndicators context) -
Uses of Size in org.hibernate.type.descriptor.sql
Methods in org.hibernate.type.descriptor.sql with parameters of type SizeModifier and TypeMethodDescriptiondefault String
DdlType.getCastTypeName
(Size columnSize, SqlExpressible type, DdlTypeRegistry ddlTypeRegistry) Return the database type corresponding to the givenSqlExpressible
that may be used as a target type in casting operations using the SQLCAST()
function.default String
DdlType.getTypeName
(Size size) Deprecated.not appropriate for named enum or array types, useDdlType.getTypeName(Size, Type, DdlTypeRegistry)
insteaddefault String
DdlType.getTypeName
(Size columnSize, Type type, DdlTypeRegistry ddlTypeRegistry) Return a type with length, precision, and scale specified by the given size object.default boolean
-
Uses of Size in org.hibernate.type.descriptor.sql.internal
Methods in org.hibernate.type.descriptor.sql.internal with parameters of type SizeModifier and TypeMethodDescriptionArrayDdlTypeImpl.getCastTypeName
(Size columnSize, SqlExpressible type, DdlTypeRegistry ddlTypeRegistry) ArrayDdlTypeImpl.getTypeName
(Size columnSize, Type type, DdlTypeRegistry ddlTypeRegistry) NamedNativeEnumDdlTypeImpl.getTypeName
(Size columnSize, Type type, DdlTypeRegistry ddlTypeRegistry) NamedNativeOrdinalEnumDdlTypeImpl.getTypeName
(Size columnSize, Type type, DdlTypeRegistry ddlTypeRegistry) NativeEnumDdlTypeImpl.getTypeName
(Size columnSize, Type type, DdlTypeRegistry ddlTypeRegistry) NativeOrdinalEnumDdlTypeImpl.getTypeName
(Size columnSize, Type type, DdlTypeRegistry ddlTypeRegistry) boolean
boolean
-
Uses of Size in org.hibernate.type.descriptor.sql.spi
Methods in org.hibernate.type.descriptor.sql.spi with parameters of type SizeModifier and TypeMethodDescriptionDdlTypeRegistry.getTypeName
(int typeCode, Size size) Deprecated.not appropriate for named enum or array types, useDdlTypeRegistry.getTypeName(int, Size, Type)
insteadDdlTypeRegistry.getTypeName
(int typeCode, Size columnSize, Type type) Get the SQL type name for the specifiedJDBC type code
and size, filling in the placemarkers$l
,$p
, and$s
with the length, precision, and scale determined by the given size object.
Column.getColumnSize(Dialect, MappingContext)