public class StringColumnConstraintsBinder extends java.lang.Object
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
bindStringColumnConstraints(Column column, Property mappedForm, java.lang.String typeName)Binds a String/byte[] column's length from the property's maxSize/inList
constraints. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Binds a String/byte[] column's length from the property's maxSize/inList
constraints. When neither is present and the resolved Hibernate type name is text,
the column is left unbounded via Hibernate's capacity-dependent DDL type mechanism -
Length.LONG32 is the documented way to obtain each dialect's native unbounded string
type (text/longtext/varchar(max)/clob) instead of a bounded VARCHAR - see GH-16010.
column - the column to bind the length ontomappedForm - the property's constraints (maxSize/inList)typeName - the resolved Hibernate type name, or null if not relevant