Package org.hibernate.dialect
Interface Dialect.SizeStrategy
- All Known Implementing Classes:
Dialect.SizeStrategyImpl
- Enclosing class:
- Dialect
public static interface Dialect.SizeStrategy
Pluggable strategy for determining the
Size
to use for
columns of a given SQL type.
Allows dialects, integrators, and users a chance to apply column
size defaults and limits in certain situations based on the mapped
SQL and Java types. For example, when mapping a UUID
to a
VARCHAR
column, we know the default Size
should
have Size.length == 36
.
-
Method Summary