public class TransformClob extends Object implements JdbcCpoTransform<Clob,char[]>
| Constructor and Description |
|---|
TransformClob() |
| Modifier and Type | Method and Description |
|---|---|
char[] |
transformIn(Clob clob)
Transforms the datasource object into an object required by the class
|
Clob |
transformOut(char[] j) |
Clob |
transformOut(JdbcCallableStatementFactory jpsf,
char[] attributeObject) |
Clob |
transformOut(JdbcPreparedStatementFactory jpsf,
char[] attributeObject)
Transforms the data from the class attribute to the object required by the datasource
|
public char[] transformIn(Clob clob) throws CpoException
transformIn in interface CpoTransform<Clob,char[]>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 retrievedCpoExceptionpublic Clob transformOut(JdbcPreparedStatementFactory jpsf, char[] attributeObject) throws CpoException
transformOut in interface JdbcCpoTransform<Clob,char[]>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.CpoExceptionpublic Clob transformOut(JdbcCallableStatementFactory jpsf, char[] attributeObject) throws CpoException, UnsupportedOperationException
transformOut in interface JdbcCpoTransform<Clob,char[]>CpoExceptionUnsupportedOperationExceptionpublic Clob transformOut(char[] j) throws CpoException, UnsupportedOperationException
transformOut in interface CpoTransform<Clob,char[]>CpoExceptionUnsupportedOperationExceptionCopyright © 2014. All Rights Reserved.