public interface StructConverter
Modifier and Type | Method and Description |
---|---|
Object |
convertToObject(Struct struct)
PUBLIC:
This method will be invoked internally when reading a Struct from the database
Implementers should put any custom conversion logic in this method
|
Struct |
convertToStruct(Object struct,
Connection connection)
PUBLIC:
This method will be invoked internally when writing an Object to the database
Implementers should put any custom conversion logic in this method
|
Class |
getJavaType()
PUBLIC:
|
String |
getStructName()
PUBLIC:
|
String getStructName()
Class getJavaType()
Object convertToObject(Struct struct) throws SQLException
struct
- the Struct that will be readSQLException
Struct convertToStruct(Object struct, Connection connection) throws SQLException
struct
- The Object to convertconnection
- The JDBC connectionSQLException
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference