|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.type.AbstractType
org.hibernate.type.NullableType
org.hibernate.type.ImmutableType
org.hibernate.type.TextType
org.jbpm.db.hibernate.LimitedTextType
public class LimitedTextType
Mapping between SQL clob and Java String that truncates parameter
values to column size.
| Constructor Summary | |
|---|---|
LimitedTextType()
|
|
| Method Summary | |
|---|---|
int |
getLimit()
|
void |
set(PreparedStatement st,
Object value,
int index)
|
void |
setParameterValues(Properties parameters)
|
| Methods inherited from class org.hibernate.type.TextType |
|---|
fromStringValue, get, getName, getReturnedClass, sqlType, toString |
| Methods inherited from class org.hibernate.type.ImmutableType |
|---|
deepCopy, isMutable, replace |
| Methods inherited from class org.hibernate.type.NullableType |
|---|
fromXMLNode, fromXMLString, getColumnSpan, isDirty, isEqual, isEqual, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, nullSafeSet, nullSafeToString, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toXMLString |
| Methods inherited from class org.hibernate.type.AbstractType |
|---|
assemble, beforeAssemble, compare, disassemble, getHashCode, getHashCode, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isEntityType, isEqual, isModified, isSame, isXMLElement, replace, replaceNode, resolve, semiResolve |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LimitedTextType()
| Method Detail |
|---|
public int getLimit()
public void set(PreparedStatement st,
Object value,
int index)
throws SQLException
set in class org.hibernate.type.TextTypeSQLExceptionpublic 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 | |||||||||