Class SDOGeometryValueExtractor<X>
java.lang.Object
org.hibernate.type.descriptor.jdbc.BasicExtractor<X>
org.hibernate.spatial.dialect.oracle.SDOGeometryValueExtractor<X>
- All Implemented Interfaces:
Serializable,org.hibernate.type.descriptor.ValueExtractor<X>
public class SDOGeometryValueExtractor<X>
extends org.hibernate.type.descriptor.jdbc.BasicExtractor<X>
ValueExtractor for SDO_GEOMETRY
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSDOGeometryValueExtractor(org.hibernate.type.descriptor.java.JavaType<X> javaType, org.hibernate.type.descriptor.jdbc.JdbcType jdbcType) Creates instance -
Method Summary
Modifier and TypeMethodDescriptionorg.geolatte.geom.GeometryConverts an oracle to a JTS Geometryprotected XdoExtract(CallableStatement statement, int index, org.hibernate.type.descriptor.WrapperOptions options) protected XdoExtract(CallableStatement statement, String name, org.hibernate.type.descriptor.WrapperOptions options) protected XMethods inherited from class org.hibernate.type.descriptor.jdbc.BasicExtractor
extract, extract, extract, getJavaType, getJdbcType
-
Constructor Details
-
SDOGeometryValueExtractor
public SDOGeometryValueExtractor(org.hibernate.type.descriptor.java.JavaType<X> javaType, org.hibernate.type.descriptor.jdbc.JdbcType jdbcType) Creates instance- Parameters:
javaType- theJavaTypeto usejdbcType- theJdbcTypeto use
-
-
Method Details
-
doExtract
protected X doExtract(ResultSet rs, int paramIndex, org.hibernate.type.descriptor.WrapperOptions options) throws SQLException - Specified by:
doExtractin classorg.hibernate.type.descriptor.jdbc.BasicExtractor<X>- Throws:
SQLException
-
doExtract
protected X doExtract(CallableStatement statement, int index, org.hibernate.type.descriptor.WrapperOptions options) throws SQLException - Specified by:
doExtractin classorg.hibernate.type.descriptor.jdbc.BasicExtractor<X>- Throws:
SQLException
-
doExtract
protected X doExtract(CallableStatement statement, String name, org.hibernate.type.descriptor.WrapperOptions options) throws SQLException - Specified by:
doExtractin classorg.hibernate.type.descriptor.jdbc.BasicExtractor<X>- Throws:
SQLException
-
convert
Converts an oracle to a JTS Geometry- Parameters:
struct- The Oracle STRUCT representation of an SDO_GEOMETRY- Returns:
- The JTS Geometry value
-