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. E.g. when mapping a UUID to a VARCHAR column we know the default Size should be `Size#length == 36`.