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.
Internal package containing dialect-specific implementations of
JdbcType
.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).
This package contains the spatial extensions for the PostgreSQLDialect.
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.
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 TypeMethodDescriptiondefault 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.dialect.type
Methods in org.hibernate.dialect.type 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) void
MariaDBCastingJsonArrayJdbcType.appendWriteExpression
(String writeExpression, @Nullable Size size, SqlAppender appender, Dialect dialect) void
MariaDBCastingJsonJdbcType.appendWriteExpression
(String writeExpression, @Nullable Size size, SqlAppender appender, Dialect dialect) void
MySQLCastingJsonArrayJdbcType.appendWriteExpression
(String writeExpression, @Nullable Size size, SqlAppender appender, Dialect dialect) void
MySQLCastingJsonJdbcType.appendWriteExpression
(String writeExpression, @Nullable Size size, SqlAppender appender, Dialect dialect) void
PostgreSQLCastingInetJdbcType.appendWriteExpression
(String writeExpression, @Nullable Size size, SqlAppender appender, Dialect dialect) void
PostgreSQLCastingIntervalSecondJdbcType.appendWriteExpression
(String writeExpression, @Nullable Size size, SqlAppender appender, Dialect dialect) void
PostgreSQLCastingJsonArrayJdbcType.appendWriteExpression
(String writeExpression, @Nullable Size size, SqlAppender appender, Dialect dialect) void
PostgreSQLCastingJsonJdbcType.appendWriteExpression
(String writeExpression, @Nullable Size size, SqlAppender appender, Dialect dialect) void
PostgreSQLStructCastingJdbcType.appendWriteExpression
(String writeExpression, @Nullable Size size, SqlAppender appender, Dialect dialect) void
SQLServerCastingXmlArrayJdbcType.appendWriteExpression
(String writeExpression, @Nullable Size size, SqlAppender appender, Dialect dialect) void
SQLServerCastingXmlJdbcType.appendWriteExpression
(String writeExpression, @Nullable Size size, SqlAppender appender, Dialect dialect) -
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, 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.spatial.dialect.postgis
Methods in org.hibernate.spatial.dialect.postgis with parameters of type SizeModifier and TypeMethodDescriptionvoid
AbstractCastingPostGISJdbcType.appendWriteExpression
(String writeExpression, @Nullable Size size, SqlAppender appender, Dialect dialect) -
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) void
H2FormatJsonJdbcType.appendWriteExpression
(String writeExpression, @Nullable Size size, SqlAppender appender, Dialect dialect) Deprecated, for removal: This API element is subject to removal in a future version.default void
JdbcType.appendWriteExpression
(String writeExpression, @Nullable Size size, SqlAppender appender, Dialect dialect) Append the write expression wrapped in a way to be able to write values with this JdbcType's ValueBinder.default @Nullable String
JdbcType.castFromPattern
(JdbcMapping sourceMapping, @Nullable Size size) Returns the cast pattern from the given source type to this type, ornull
if not possible.default @Nullable String
JdbcType.castToPattern
(JdbcMapping targetJdbcMapping, @Nullable Size size) Returns the cast pattern from this type to the given target type, ornull
if not possible.default String
JdbcType.wrapWriteExpression
(String writeExpression, @Nullable Size size, Dialect dialect) Wraps the write expression to be able to write values with this JdbcType's ValueBinder. -
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.default 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.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.
DdlType.getTypeName(Size, Type, DdlTypeRegistry)
instead