|
Spring Data JDBC Extensions Support | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StructMapper
Interface defining signatures needed for pluggable implementations of STRUCT mappers. Implementations must handle the mapping from STRUCT attributes to and from the target class.
| Method Summary | |
|---|---|
Object |
fromStruct(oracle.sql.STRUCT struct)
Map attributes from the passed in STRUCT to the desired object type. |
oracle.sql.STRUCT |
toStruct(Object object,
Connection conn,
String typeName)
Create a struct of the defined type and populate it with values from the passed in object. |
| Method Detail |
|---|
oracle.sql.STRUCT toStruct(Object object,
Connection conn,
String typeName)
throws SQLException
object - instance containng the values to mapconn - database connection to be used to create the STRUCTtypeName - name of the STRUCT type
SQLException
Object fromStruct(oracle.sql.STRUCT struct)
throws SQLException
struct - the STRUCT containing attribute values to be used
SQLException
|
Spring Data JDBC Extensions Support | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||