|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.hibernate.BucketClobStringType
public class BucketClobStringType
A custom UserType that maps stings to clobs. This type supports custom handling for:
| Nested Class Summary | |
|---|---|
protected static class |
BucketClobStringType.LobCreatorSynchronization
Callback for resource cleanup at the end of a transaction. |
| Constructor Summary | |
|---|---|
BucketClobStringType()
|
|
| Method Summary | |
|---|---|
Object |
deepCopy(Object value)
|
boolean |
equals(Object x,
Object y)
|
protected org.springframework.jdbc.support.lob.LobHandler |
getLobHandler()
Retrieve the configured LobHandler. |
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. |
Object |
nullSafeGet(ResultSet rs,
String[] names,
Object owner)
|
void |
nullSafeSet(PreparedStatement st,
Object value,
int index)
|
Class |
returnedClass()
|
protected void |
setUseSetClobAsString(boolean b)
Set the UseSetString property. |
int[] |
sqlTypes()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BucketClobStringType()
| Method Detail |
|---|
public boolean isUsingOracle()
public boolean isUsingHSQL()
public boolean isUsingMySQL()
protected org.springframework.jdbc.support.lob.LobHandler getLobHandler()
public int[] sqlTypes()
sqlTypes in interface net.sf.hibernate.UserTypepublic Class returnedClass()
returnedClass in interface net.sf.hibernate.UserType
public boolean equals(Object x,
Object y)
equals in interface net.sf.hibernate.UserType
public Object nullSafeGet(ResultSet rs,
String[] names,
Object owner)
throws SQLException
nullSafeGet in interface net.sf.hibernate.UserTypeSQLException
public void nullSafeSet(PreparedStatement st,
Object value,
int index)
throws SQLException
nullSafeSet in interface net.sf.hibernate.UserTypeSQLExceptionpublic Object deepCopy(Object value)
deepCopy in interface net.sf.hibernate.UserTypepublic boolean isMutable()
isMutable in interface net.sf.hibernate.UserTypeprotected void setUseSetClobAsString(boolean b)
b - useSetClobAsStringprotected boolean isUseSetClobAsString()
useSetClobAsString
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||