public class BucketClobStringType
extends java.lang.Object
implements org.hibernate.usertype.UserType
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BucketClobStringType.LobCreatorSynchronization
Callback for resource cleanup at the end of a transaction.
|
| Constructor and Description |
|---|
BucketClobStringType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
assemble(java.io.Serializable cached,
java.lang.Object owner) |
java.lang.Object |
deepCopy(java.lang.Object value) |
java.io.Serializable |
disassemble(java.lang.Object value) |
boolean |
equals(java.lang.Object x,
java.lang.Object y) |
protected org.springframework.jdbc.support.lob.LobHandler |
getLobHandler()
Retrieve the configured LobHandler.
|
int |
hashCode(java.lang.Object o) |
boolean |
isMutable() |
protected boolean |
isUseSetClobAsString()
Get the UseSetString property.
|
boolean |
isUsingHSQL()
Returns ture if we are running with the HSQL hibernate dialect.
|
boolean |
isUsingMySQL()
Returns true if we are running with the MySQL hibernate dialect.
|
boolean |
isUsingOracle()
Returns true if we are running with the Oracle hibernate dialect.
|
java.lang.Object |
nullSafeGet(java.sql.ResultSet rs,
java.lang.String[] names,
java.lang.Object owner) |
void |
nullSafeSet(java.sql.PreparedStatement st,
java.lang.Object value,
int index) |
java.lang.Object |
replace(java.lang.Object original,
java.lang.Object target,
java.lang.Object owner) |
java.lang.Class |
returnedClass() |
protected void |
setUseSetClobAsString(boolean b)
Set the UseSetString property.
|
int[] |
sqlTypes() |
public boolean isUsingOracle()
public boolean isUsingHSQL()
public boolean isUsingMySQL()
protected org.springframework.jdbc.support.lob.LobHandler getLobHandler()
public int[] sqlTypes()
sqlTypes in interface org.hibernate.usertype.UserTypepublic java.lang.Class returnedClass()
returnedClass in interface org.hibernate.usertype.UserTypepublic boolean equals(java.lang.Object x,
java.lang.Object y)
equals in interface org.hibernate.usertype.UserTypepublic java.lang.Object nullSafeGet(java.sql.ResultSet rs,
java.lang.String[] names,
java.lang.Object owner)
throws java.sql.SQLException
nullSafeGet in interface org.hibernate.usertype.UserTypejava.sql.SQLExceptionpublic void nullSafeSet(java.sql.PreparedStatement st,
java.lang.Object value,
int index)
throws java.sql.SQLException
nullSafeSet in interface org.hibernate.usertype.UserTypejava.sql.SQLExceptionpublic java.lang.Object deepCopy(java.lang.Object value)
deepCopy in interface org.hibernate.usertype.UserTypepublic boolean isMutable()
isMutable in interface org.hibernate.usertype.UserTypeprotected void setUseSetClobAsString(boolean b)
b - useSetClobAsStringprotected boolean isUseSetClobAsString()
useSetClobAsStringpublic java.lang.Object replace(java.lang.Object original,
java.lang.Object target,
java.lang.Object owner)
throws org.hibernate.HibernateException
replace in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic int hashCode(java.lang.Object o)
throws org.hibernate.HibernateException
hashCode in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic java.io.Serializable disassemble(java.lang.Object value)
throws org.hibernate.HibernateException
disassemble in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic java.lang.Object assemble(java.io.Serializable cached,
java.lang.Object owner)
throws org.hibernate.HibernateException
assemble in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionCopyright © 2014 Atlassian. All Rights Reserved.