|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.synchronoss.cpo.transform.jdbc.TransformClob
public class TransformClob
Converts a java.sql.Blob from a jdbc datasource to a byte[] and from a byte[] to a java.sql.Blob
Constructor Summary | |
---|---|
TransformClob()
|
Method Summary | |
---|---|
char[] |
transformIn(java.sql.Clob clob)
Transforms the datasource object into an object required by the class |
java.sql.Clob |
transformOut(JdbcPreparedStatementFactory jpsf,
char[] attributeObject)
Transforms the data from the class attribute to the object required by the datasource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransformClob()
Method Detail |
---|
public char[] transformIn(java.sql.Clob clob) throws CpoException
cpoAdapter
- The CpoAdapter for the datasource where the attribute is being retrievedparentObject
- The object that contains the attribute being retrieved.The
- object that represents the datasource object being retrieved
CpoException
public java.sql.Clob transformOut(JdbcPreparedStatementFactory jpsf, char[] attributeObject) throws CpoException
cpoAdapter
- The CpoAdapter for the datasource where the attribute is being persistedparentObject
- The object that contains the attribute being persisted.attributeObject
- The object that represents the attribute being persisted.
CpoException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |