Package org.hibernate.usertype
Interface Sized
-
public interface Sized
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Size[]
defaultSizes()
Defines the column sizes to use according to this type if the user did not explicitly say (and if nodictatedSizes()
were given).Size[]
dictatedSizes()
Return the column sizes dictated by this type.
-
-
-
Method Detail
-
dictatedSizes
Size[] dictatedSizes()
Return the column sizes dictated by this type. For example, the mapping for achar
/Character
would have a dictated length limit of 1; for a string-basedUUID
would have a size limit of 36; etc.- Returns:
- The dictated sizes.
- See Also:
Type.dictatedSizes(org.hibernate.engine.spi.Mapping)
-
defaultSizes
Size[] defaultSizes()
Defines the column sizes to use according to this type if the user did not explicitly say (and if nodictatedSizes()
were given).- Returns:
- The default sizes.
- See Also:
Type.defaultSizes(org.hibernate.engine.spi.Mapping)
-
-