|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.type.AbstractStandardBasicType<T>
org.hibernate.type.AbstractSingleColumnStandardBasicType<String>
org.hibernate.type.StringType
org.jbpm.db.hibernate.LimitedStringType
public class LimitedStringType
Mapping between SQL varchar and Java String that truncates
parameter values to column size.
| Field Summary |
|---|
| Fields inherited from class org.hibernate.type.StringType |
|---|
INSTANCE |
| Constructor Summary | |
|---|---|
LimitedStringType()
|
|
| Method Summary | |
|---|---|
int |
getLimit()
|
void |
set(PreparedStatement st,
Object value,
int index)
|
void |
setParameterValues(Properties parameters)
|
| Methods inherited from class org.hibernate.type.StringType |
|---|
getName, objectToSQLString, registerUnderJavaType, stringToObject, toString |
| Methods inherited from class org.hibernate.type.AbstractSingleColumnStandardBasicType |
|---|
nullSafeSet, sqlType |
| Methods inherited from class org.hibernate.type.AbstractStandardBasicType |
|---|
assemble, beforeAssemble, compare, deepCopy, deepCopy, defaultSizes, dictatedSizes, disassemble, fromString, fromStringValue, fromXMLNode, fromXMLString, get, getColumnSpan, getDefaultSize, getDictatedSize, getHashCode, getHashCode, getJavaTypeDescriptor, getMutabilityPlan, getRegistrationKeys, getReplacement, getReturnedClass, getSemiResolvedType, getSqlTypeDescriptor, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, remapSqlTypeDescriptor, replace, replace, resolve, semiResolve, set, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toXMLString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.hibernate.type.Type |
|---|
assemble, beforeAssemble, compare, deepCopy, defaultSizes, dictatedSizes, disassemble, fromXMLNode, getColumnSpan, getHashCode, getHashCode, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, replace, replace, resolve, semiResolve, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString |
| Methods inherited from interface org.hibernate.type.SingleColumnType |
|---|
fromStringValue, get, nullSafeGet, set |
| Constructor Detail |
|---|
public LimitedStringType()
| Method Detail |
|---|
public int getLimit()
public void set(PreparedStatement st,
Object value,
int index)
throws SQLException
SQLExceptionpublic void setParameterValues(Properties parameters)
setParameterValues in interface org.hibernate.usertype.ParameterizedType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||