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()
StructConvertergetStructName in interface StructConverterpublic Class getJavaType()
StructConvertergetJavaType in interface StructConverterpublic Object convertToObject(Struct struct) throws SQLException
StructConverterconvertToObject in interface StructConverterstruct - the Struct that will be readSQLExceptionpublic Struct convertToStruct(Object geometry, Connection connection) throws SQLException
StructConverterconvertToStruct in interface StructConvertergeometry - The Object to convertconnection - The JDBC connectionSQLExceptionCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.