Interface JdbcCpoTransform<D,J>
- Type Parameters:
D- The datasource typeJ- The java type
- All Superinterfaces:
CpoTransform<D,J>
- All Known Implementing Classes:
TransformCharArray,TransformClob,TransformGZipBytes,TransformNoOp,TransformStringChar,TransformTimestampToCalendar
Transforms are used when standard java types to data types do not work.
- Since:
- 9/19/10
- Author:
- Michael Bellomo
-
Method Summary
Modifier and TypeMethodDescriptiontransformOut(JdbcCallableStatementFactory jcsf, J attributeObject) Transforms a java object to a data source object for the preparedstatementtransformOut(JdbcPreparedStatementFactory jpsf, J attributeObject) Transforms a java object to a data source object for the preparedstatementMethods inherited from interface org.synchronoss.cpo.core.transform.CpoTransform
transformIn, transformOut
-
Method Details
-
transformOut
Transforms a java object to a data source object for the preparedstatement- Parameters:
jpsf- the prepared statement factory that will be receiving the objectattributeObject- the java object to be transformed- Returns:
- The datasource object
- Throws:
CpoException- an error transforming the java object to the data object
-
transformOut
Transforms a java object to a data source object for the preparedstatement- Parameters:
jcsf- the callable statement factory that will be receiving the objectattributeObject- the java object to be transformed- Returns:
- The datasource object
- Throws:
CpoException- an error transforming the java object to the data object
-