public class JGeometryConverter extends Object implements StructConverter
Constructor and Description |
---|
JGeometryConverter() |
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 geometry,
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:
|
public String getStructName()
StructConverter
getStructName
in interface StructConverter
public Class getJavaType()
StructConverter
getJavaType
in interface StructConverter
public Object convertToObject(Struct struct) throws SQLException
StructConverter
convertToObject
in interface StructConverter
struct
- the Struct that will be readSQLException
public Struct convertToStruct(Object geometry, Connection connection) throws SQLException
StructConverter
convertToStruct
in interface StructConverter
geometry
- The Object to convertconnection
- The JDBC connectionSQLException
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.