Class Size

java.lang.Object
org.hibernate.engine.jdbc.Size
All Implemented Interfaces:
Serializable

public class Size extends Object implements Serializable
Models size restrictions/requirements on a column's datatype.
See Also:
Implementation Note:
Since we do not necessarily know the datatype up front, and therefore do not necessarily know whether length or precision/scale sizing is needed, we simply account for both here. Additionally, LOB sizes, by standard, are allowed a "multiplier", K (Kb), M (Mb) or G (Gb).