public class TransformNoOp extends Object implements JdbcCpoTransform<Integer,Integer>
| Constructor and Description |
|---|
TransformNoOp() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
transformIn(Integer dbIn)
Transforms the datasource object into an object required by the class.
|
Integer |
transformOut(Integer j) |
Integer |
transformOut(JdbcCallableStatementFactory jcsf,
Integer attrOut)
Transforms the data from the class attribute to the object required by the datasource.
|
Integer |
transformOut(JdbcPreparedStatementFactory jpsf,
Integer attrOut)
Transforms the data from the class attribute to the object required by the datasource.
|
public Integer transformIn(Integer dbIn) throws CpoException
transformIn in interface CpoTransform<Integer,Integer>dbIn - The value from the datasource that will be transformed into the format that is required by the pojo.CpoExceptionpublic Integer transformOut(JdbcCallableStatementFactory jcsf, Integer attrOut) throws CpoException
transformOut in interface JdbcCpoTransform<Integer,Integer>jcsf - a reference to the JdbcCallableStatementFactory. This is necessary as some DBMSs (ORACLE !#$%^&!) that
require access to the connection to deal with certain datatypes.attrOut - The attribute object that needs to get transformed into the db representationCpoExceptionpublic Integer transformOut(JdbcPreparedStatementFactory jpsf, Integer attrOut) throws CpoException
transformOut in interface JdbcCpoTransform<Integer,Integer>jpsf - a reference to the JdbcPreparedStatementFactory. This is necessary as some DBMSs (ORACLE !#$%^&!) that
require access to the connection to deal with certain datatypes.attrOut - The attribute object that needs to get transformed into the db representationCpoExceptionpublic Integer transformOut(Integer j) throws CpoException, UnsupportedOperationException
transformOut in interface CpoTransform<Integer,Integer>CpoExceptionUnsupportedOperationExceptionCopyright © 2014. All Rights Reserved.