public class SDOGeometryValueExtractor<X>
extends org.hibernate.type.descriptor.sql.BasicExtractor<X>
ValueExtractor for SDO_GEOMETRY
Constructor and Description |
---|
SDOGeometryValueExtractor(org.hibernate.type.descriptor.java.JavaTypeDescriptor<X> javaDescriptor,
org.hibernate.type.descriptor.sql.SqlTypeDescriptor sqlTypeDescriptor)
Creates instance
|
Modifier and Type | Method and Description |
---|---|
org.geolatte.geom.Geometry |
convert(Object struct)
Converts an oracle to a JTS Geometry
|
protected X |
doExtract(CallableStatement statement,
int index,
org.hibernate.type.descriptor.WrapperOptions options) |
protected X |
doExtract(CallableStatement statement,
String name,
org.hibernate.type.descriptor.WrapperOptions options) |
protected X |
doExtract(ResultSet rs,
String name,
org.hibernate.type.descriptor.WrapperOptions options) |
public SDOGeometryValueExtractor(org.hibernate.type.descriptor.java.JavaTypeDescriptor<X> javaDescriptor, org.hibernate.type.descriptor.sql.SqlTypeDescriptor sqlTypeDescriptor)
Creates instance
javaDescriptor
- the JavaTypeDescriptor
to usesqlTypeDescriptor
- the SqlTypeDescriptor
to useprotected X doExtract(ResultSet rs, String name, org.hibernate.type.descriptor.WrapperOptions options) throws SQLException
doExtract
in class org.hibernate.type.descriptor.sql.BasicExtractor<X>
SQLException
protected X doExtract(CallableStatement statement, int index, org.hibernate.type.descriptor.WrapperOptions options) throws SQLException
doExtract
in class org.hibernate.type.descriptor.sql.BasicExtractor<X>
SQLException
protected X doExtract(CallableStatement statement, String name, org.hibernate.type.descriptor.WrapperOptions options) throws SQLException
doExtract
in class org.hibernate.type.descriptor.sql.BasicExtractor<X>
SQLException
public org.geolatte.geom.Geometry convert(Object struct)
Converts an oracle to a JTS Geometry
struct
- The Oracle STRUCT representation of an SDO_GEOMETRYCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.