|
||||||||||
| 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 | |
|---|---|
java.lang.Object |
deepCopy(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. |
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.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 java.lang.Class returnedClass()
returnedClass in interface net.sf.hibernate.UserType
public boolean equals(java.lang.Object x,
java.lang.Object y)
equals in interface net.sf.hibernate.UserType
public java.lang.Object nullSafeGet(java.sql.ResultSet rs,
java.lang.String[] names,
java.lang.Object owner)
throws java.sql.SQLException
nullSafeGet in interface net.sf.hibernate.UserTypejava.sql.SQLException
public void nullSafeSet(java.sql.PreparedStatement st,
java.lang.Object value,
int index)
throws java.sql.SQLException
nullSafeSet in interface net.sf.hibernate.UserTypejava.sql.SQLExceptionpublic java.lang.Object deepCopy(java.lang.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 | |||||||||