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 readSQLExceptionStruct convertToStruct(Object struct, Connection connection) throws SQLException
struct - The Object to convertconnection - The JDBC connectionSQLException