Package org.hibernate.dialect

Interface Dialect.SizeStrategy

  • All Known Implementing Classes:
    Dialect.SizeStrategyImpl
    Enclosing class:
    Dialect

    public static interfaceDialect.SizeStrategy
    Pluggable strategy for determining theSize 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 aUUID to aVARCHAR column, we know the defaultSize should haveSize.length == 36.