public class SDOGeometryValueExtractor<X>
extends org.hibernate.type.descriptor.sql.BasicExtractor<X>
| 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(java.lang.Object struct)
Converts an oracle to a JTS Geometry
|
protected X |
doExtract(java.sql.CallableStatement statement,
int index,
org.hibernate.type.descriptor.WrapperOptions options) |
protected X |
doExtract(java.sql.CallableStatement statement,
java.lang.String name,
org.hibernate.type.descriptor.WrapperOptions options) |
protected X |
doExtract(java.sql.ResultSet rs,
java.lang.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)
javaDescriptor - the JavaTypeDescriptor to usesqlTypeDescriptor - the SqlTypeDescriptor to useprotected X doExtract(java.sql.ResultSet rs, java.lang.String name, org.hibernate.type.descriptor.WrapperOptions options) throws java.sql.SQLException
doExtract in class org.hibernate.type.descriptor.sql.BasicExtractor<X>java.sql.SQLExceptionprotected X doExtract(java.sql.CallableStatement statement, int index, org.hibernate.type.descriptor.WrapperOptions options) throws java.sql.SQLException
doExtract in class org.hibernate.type.descriptor.sql.BasicExtractor<X>java.sql.SQLExceptionprotected X doExtract(java.sql.CallableStatement statement, java.lang.String name, org.hibernate.type.descriptor.WrapperOptions options) throws java.sql.SQLException
doExtract in class org.hibernate.type.descriptor.sql.BasicExtractor<X>java.sql.SQLExceptionpublic org.geolatte.geom.Geometry convert(java.lang.Object struct)
struct - The Oracle STRUCT representation of an SDO_GEOMETRYCopyright © 2001-2025 Red Hat, Inc. All Rights Reserved.