us.datanucleus-spatial.3.2.0-release.source-code.plugin.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <?eclipse version="3.2"?> <!-- Copyright (c) 2006 Thomas Marti, Stefan Schmid and others. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Contributors: 2009 Andy Jefferson - all new SQL expressions/methods ... --> <plugin id="org.datanucleus.spatial" name="DataNucleus Spatial" provider-name="DataNucleus"> <!-- DATASTORE ADAPTERS --> <extension point="org.datanucleus.store_datastoreadapter"> <datastore-adapter vendor-id="postgresql" class-name="org.datanucleus.store.rdbms.adapter.PostGISAdapter" priority="5"/> <datastore-adapter vendor-id="mysql" class-name="org.datanucleus.store.rdbms.adapter.MySQLSpatialAdapter" priority="5"/> <datastore-adapter vendor-id="oracle" class-name="org.datanucleus.store.rdbms.adapter.OracleSpatialAdapter" priority="5"/> </extension> <!-- JAVA TYPES --> <extension point="org.datanucleus.java_type"> <!-- Oracle's JGeometry --> <java-type name="oracle.spatial.geometry.JGeometry" dfg="true" embedded="true"/> <!-- JTS geometries --> <java-type name="com.vividsolutions.jts.geom.Geometry" dfg="true" embedded="true"/> <java-type name="com.vividsolutions.jts.geom.GeometryCollection" dfg="true" embedded="true"/> <java-type name="com.vividsolutions.jts.geom.LinearRing" dfg="true" embedded="true"/> <java-type name="com.vividsolutions.jts.geom.LineString" dfg="true" embedded="true"/> <java-type name="com.vividsolutions.jts.geom.MultiLineString" dfg="true" embedded="true"/> <java-type name="com.vividsolutions.jts.geom.MultiPoint" dfg="true" embedded="true"/> <java-type name="com.vividsolutions.jts.geom.MultiPolygon" dfg="true" embedded="true"/> <java-type name="com.vividsolutions.jts.geom.Point" dfg="true" embedded="true"/> <java-type name="com.vividsolutions.jts.geom.Polygon" dfg="true" embedded="true"/> <!-- PostGIS JDBC geometries --> <java-type name="org.postgis.PGbox2d" dfg="true" embedded="true"/> <java-type name="org.postgis.PGbox3d" dfg="true" embedded="true"/> <java-type name="org.postgis.Geometry" dfg="true" embedded="true"/> <java-type name="org.postgis.GeometryCollection" dfg="true" embedded="true"/> <java-type name="org.postgis.LinearRing" dfg="true" embedded="true"/> <java-type name="org.postgis.LineString" dfg="true" embedded="true"/> <java-type name="org.postgis.MultiLineString" dfg="true" embedded="true"/> <java-type name="org.postgis.MultiPoint" dfg="true" embedded="true"/> <java-type name="org.postgis.MultiPolygon" dfg="true" embedded="true"/> <java-type name="org.postgis.Point" dfg="true" embedded="true"/> <java-type name="org.postgis.Polygon" dfg="true" embedded="true"/> </extension> <!-- SQL EXPRESSIONS --> <extension point="org.datanucleus.store.rdbms.sql_expression"> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.jts.GeometryMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.jts.GeometryCollectionMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.jts.LinearRingMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.jts.LineStringMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.jts.MultiLineStringMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.jts.MultiPointMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.jts.MultiPolygonMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.jts.PointMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.jts.PolygonMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.ao.GeometryMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.ao.EnvelopeMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.ao.GeometryBagMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.ao.LineMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.ao.MultipointMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.ao.PathMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.ao.PointMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.ao.PolygonMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.ao.PolylineMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.ao.RingMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.jgeom.JGeometryMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.pg.GeometryMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.pg.GeometryCollectionMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.pg.LinearRingMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.pg.LineStringMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.pg.MultiLineStringMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.pg.MultiPointMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.pg.MultiPolygonMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.pg.PGbox2dMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.pg.PGbox3dMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.pg.PointMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> <sql-expression mapping-class="org.datanucleus.store.rdbms.mapping.pg.PolygonMapping" literal-class="org.datanucleus.store.rdbms.sql.expression.GeometryLiteral" expression-class="org.datanucleus.store.rdbms.sql.expression.GeometryExpression"/> </extension> <!-- SQL METHODS --> <extension point="org.datanucleus.store.rdbms.sql_method"> <sql-method method="MySQL.mbrEqual" evaluator="org.datanucleus.store.rdbms.sql.method.MySqlMbrEqualMethod" datastore="mysql"/> <sql-method method="MySQL.mbrDisjoint" evaluator="org.datanucleus.store.rdbms.sql.method.MySqlMbrDisjointMethod" datastore="mysql"/> <sql-method method="MySQL.mbrIntersects" evaluator="org.datanucleus.store.rdbms.sql.method.MySqlMbrIntersectsMethod" datastore="mysql"/> <sql-method method="MySQL.mbrTouches" evaluator="org.datanucleus.store.rdbms.sql.method.MySqlMbrTouchesMethod" datastore="mysql"/> <sql-method method="MySQL.mbrWithin" evaluator="org.datanucleus.store.rdbms.sql.method.MySqlMbrWithinMethod" datastore="mysql"/> <sql-method method="MySQL.mbrContains" evaluator="org.datanucleus.store.rdbms.sql.method.MySqlMbrContainsMethod" datastore="mysql"/> <sql-method method="MySQL.mbrOverlaps" evaluator="org.datanucleus.store.rdbms.sql.method.MySqlMbrOverlapsMethod" datastore="mysql"/> <sql-method method="Oracle.sdo_elem_info_array" evaluator="org.datanucleus.store.rdbms.sql.method.OracleSdoElemInfoArrayMethod" datastore="oracle"/> <sql-method method="Oracle.sdo_geometry" evaluator="org.datanucleus.store.rdbms.sql.method.OracleSdoGeometryMethod" datastore="oracle"/> <sql-method method="Oracle.sdo_ordinate_array" evaluator="org.datanucleus.store.rdbms.sql.method.OracleSdoOrdinateArrayMethod" datastore="oracle"/> <sql-method method="Oracle.sdo_point_type" evaluator="org.datanucleus.store.rdbms.sql.method.OracleSdoPointTypeMethod" datastore="oracle"/> <sql-method method="PostGIS.bboxBelow" evaluator="org.datanucleus.store.rdbms.sql.method.PostGISBboxBelowMethod" datastore="postgresql"/> <sql-method method="PostGIS.bboxAbove" evaluator="org.datanucleus.store.rdbms.sql.method.PostGISBboxAboveMethod" datastore="postgresql"/> <sql-method method="PostGIS.bboxLeft" evaluator="org.datanucleus.store.rdbms.sql.method.PostGISBboxLeftMethod" datastore="postgresql"/> <sql-method method="PostGIS.bboxRight" evaluator="org.datanucleus.store.rdbms.sql.method.PostGISBboxRightMethod" datastore="postgresql"/> <sql-method method="PostGIS.bboxOverlapsBelow" evaluator="org.datanucleus.store.rdbms.sql.method.PostGISBboxOverlapsBelowMethod" datastore="postgresql"/> <sql-method method="PostGIS.bboxOverlapsAbove" evaluator="org.datanucleus.store.rdbms.sql.method.PostGISBboxOverlapsAboveMethod" datastore="postgresql"/> <sql-method method="PostGIS.bboxOverlapsLeft" evaluator="org.datanucleus.store.rdbms.sql.method.PostGISBboxOverlapsLeftMethod" datastore="postgresql"/> <sql-method method="PostGIS.bboxOverlapsRight" evaluator="org.datanucleus.store.rdbms.sql.method.PostGISBboxOverlapsRightMethod" datastore="postgresql"/> <sql-method method="PostGIS.bboxContains" evaluator="org.datanucleus.store.rdbms.sql.method.PostGISBboxContainsMethod" datastore="postgresql"/> <sql-method method="PostGIS.bboxWithin" evaluator="org.datanucleus.store.rdbms.sql.method.PostGISBboxWithinMethod" datastore="postgresql"/> <sql-method method="PostGIS.sameAs" evaluator="org.datanucleus.store.rdbms.sql.method.PostGISSameAsMethod" datastore="postgresql"/> <!-- This is how methods should be defined eventually --> <sql-method class="com.vividsolutions.jts.geom.Point" method="getX" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialXMethod"/> <sql-method class="com.vividsolutions.jts.geom.Point" method="getX" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialXMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Point" method="getY" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialYMethod"/> <sql-method class="com.vividsolutions.jts.geom.Point" method="getY" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialYMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getNumPoints" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumPointsMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getNumPoints" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumPointsMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getArea" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialAreaMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getArea" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialAreaMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="contains" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialContainsMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="contains" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialContainsMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getEnvelope" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialEnvelopeMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getEnvelope" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialEnvelopeMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getDimension" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDimensionMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getDimension" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDimensionMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getLength" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialLengthMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getLength" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialLengthMethod2" datastore="mysql"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getLength" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialLengthMethod3" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getBoundary" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialBoundaryMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getBoundary" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialBoundaryMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getSRID" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialSridMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getSRID" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialSridMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="isSimple" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsSimpleMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="isSimple" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsSimpleMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="isEmpty" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsEmptyMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="isEmpty" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsEmptyMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="overlaps" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialOverlapsMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="overlaps" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialOverlapsMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="touches" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialTouchesMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="touches" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialTouchesMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="crosses" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialCrossesMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="crosses" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialCrossesMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="within" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialWithinMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="within" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialWithinMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="intersects" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIntersectsMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="intersects" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIntersectsMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="intersection" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIntersectionMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="intersection" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIntersectionMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="equals" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialEqualsMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="equals" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialEqualsMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="disjoint" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDisjointMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="disjoint" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDisjointMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="relate" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialRelateMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="relate" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialRelateMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="difference" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDifferenceMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="difference" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDifferenceMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="symDifference" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialSymDifferenceMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="symDifference" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialSymDifferenceMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getCentroid" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialCentroidMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getCentroid" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialCentroidMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="toText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialAsTextMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="toText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialAsTextMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="union" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialUnionMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="union" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialUnionMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="union" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialUnionMethod3" datastore="postgresql"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getGeometryType" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeometryTypeMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="getGeometryType" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeometryTypeMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="distance" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDistanceMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="distance" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDistanceMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="buffer" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialBufferMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="buffer" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialBufferMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="convexHull" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialConvexHullMethod"/> <sql-method class="com.vividsolutions.jts.geom.Geometry" method="convexHull" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialConvexHullMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.LineString" method="isRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsRingMethod"/> <sql-method class="com.vividsolutions.jts.geom.LineString" method="isRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsRingMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.LineString" method="isClosed" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsClosedMethod"/> <sql-method class="com.vividsolutions.jts.geom.LineString" method="isClosed" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsClosedMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.LineString" method="getStartPoint" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialStartPointMethod"/> <sql-method class="com.vividsolutions.jts.geom.LineString" method="getStartPoint" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialStartPointMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.LineString" method="getEndPoint" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialEndPointMethod"/> <sql-method class="com.vividsolutions.jts.geom.LineString" method="getEndPoint" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialEndPointMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.LineString" method="getPointN" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialPointNMethod"/> <sql-method class="com.vividsolutions.jts.geom.LineString" method="getPointN" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialPointNMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Polygon" method="getExteriorRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialExteriorRingMethod"/> <sql-method class="com.vividsolutions.jts.geom.Polygon" method="getExteriorRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialExteriorRingMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Polygon" method="getInteriorRingN" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialInteriorRingNMethod"/> <sql-method class="com.vividsolutions.jts.geom.Polygon" method="getInteriorRingN" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialInteriorRingNMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.Polygon" method="getNumInteriorRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumInteriorRingMethod"/> <sql-method class="com.vividsolutions.jts.geom.Polygon" method="getNumInteriorRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumInteriorRingMethod2" datastore="mysql"/> <sql-method class="com.vividsolutions.jts.geom.Polygon" method="getNumInteriorRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumInteriorRingMethod2" datastore="postgresql"/> <sql-method class="com.vividsolutions.jts.geom.Polygon" method="getNumInteriorRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumInteriorRingMethod3" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.GeometryCollection" method="getNumGeometries" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumGeometriesMethod"/> <sql-method class="com.vividsolutions.jts.geom.GeometryCollection" method="getNumGeometries" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumGeometriesMethod2" datastore="oracle"/> <sql-method class="com.vividsolutions.jts.geom.GeometryCollection" method="getGeometryN" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeometryNMethod"/> <sql-method class="com.vividsolutions.jts.geom.GeometryCollection" method="getGeometryN" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeometryNMethod2" datastore="oracle"/> <sql-method class="org.postgis.Point" method="getX" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialXMethod"/> <sql-method class="org.postgis.Point" method="getX" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialXMethod2" datastore="oracle"/> <sql-method class="org.postgis.Point" method="getY" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialYMethod"/> <sql-method class="org.postgis.Point" method="getY" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialYMethod2" datastore="oracle"/> <sql-method class="org.postgis.Geometry" method="numPoints" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumPointsMethod"/> <sql-method class="org.postgis.Geometry" method="numPoints" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumPointsMethod2" datastore="oracle"/> <sql-method class="org.postgis.Geometry" method="getDimension" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDimensionMethod"/> <sql-method class="org.postgis.Geometry" method="getDimension" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDimensionMethod2" datastore="oracle"/> <sql-method class="org.postgis.Geometry" method="getSrid" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialSridMethod"/> <sql-method class="org.postgis.Geometry" method="getSrid" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialSridMethod2" datastore="oracle"/> <sql-method class="org.postgis.Geometry" method="equals" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialEqualsMethod"/> <sql-method class="org.postgis.Geometry" method="equals" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialEqualsMethod2" datastore="oracle"/> <sql-method method="Spatial.bboxTest" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialBboxTestMethod"/> <sql-method method="Spatial.bboxTest" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialBboxTestMethod2" datastore="mysql"/> <sql-method method="Spatial.bboxTest" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialBboxTestMethod3" datastore="oracle"/> <sql-method method="Spatial.dimension" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDimensionMethod"/> <sql-method method="Spatial.dimension" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDimensionMethod2" datastore="oracle"/> <sql-method method="Spatial.srid" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialSridMethod"/> <sql-method method="Spatial.srid" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialSridMethod2" datastore="oracle"/> <sql-method method="Spatial.x" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialXMethod"/> <sql-method method="Spatial.x" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialXMethod2" datastore="oracle"/> <sql-method method="Spatial.y" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialYMethod"/> <sql-method method="Spatial.y" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialYMethod2" datastore="oracle"/> <sql-method method="Spatial.area" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialAreaMethod"/> <sql-method method="Spatial.area" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialAreaMethod2" datastore="oracle"/> <sql-method method="Spatial.length" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialLengthMethod"/> <sql-method method="Spatial.length" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialLengthMethod2" datastore="mysql"/> <sql-method method="Spatial.length" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialLengthMethod3" datastore="oracle"/> <sql-method method="Spatial.distance" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDistanceMethod"/> <sql-method method="Spatial.distance" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDistanceMethod2" datastore="oracle"/> <sql-method method="Spatial.numPoints" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumPointsMethod"/> <sql-method method="Spatial.numPoints" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumPointsMethod2" datastore="oracle"/> <sql-method method="Spatial.numInteriorRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumInteriorRingMethod"/> <sql-method method="Spatial.numInteriorRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumInteriorRingMethod2" datastore="postgresql"/> <sql-method method="Spatial.numInteriorRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumInteriorRingMethod2" datastore="mysql"/> <sql-method method="Spatial.numInteriorRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumInteriorRingMethod3" datastore="oracle"/> <sql-method method="Spatial.numGeometries" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumGeometriesMethod"/> <sql-method method="Spatial.numGeometries" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialNumGeometriesMethod2" datastore="oracle"/> <sql-method method="Spatial.asBinary" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialAsBinaryMethod"/> <sql-method method="Spatial.asBinary" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialAsBinaryMethod2" datastore="oracle"/> <sql-method method="Spatial.asText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialAsTextMethod"/> <sql-method method="Spatial.asText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialAsTextMethod2" datastore="oracle"/> <sql-method method="Spatial.geometryType" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeometryTypeMethod"/> <sql-method method="Spatial.geometryType" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeometryTypeMethod2" datastore="oracle"/> <sql-method method="Spatial.geomFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeomFromTextMethod"/> <sql-method method="Spatial.geomFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeomFromTextMethod2" datastore="oracle"/> <sql-method method="Spatial.pointFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialPointFromTextMethod"/> <sql-method method="Spatial.pointFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialPointFromTextMethod2" datastore="oracle"/> <sql-method method="Spatial.lineFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialLineFromTextMethod"/> <sql-method method="Spatial.lineFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialLineFromTextMethod2" datastore="oracle"/> <sql-method method="Spatial.polyFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialPolyFromTextMethod"/> <sql-method method="Spatial.polyFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialPolyFromTextMethod2" datastore="oracle"/> <sql-method method="Spatial.mLineFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialMLineFromTextMethod"/> <sql-method method="Spatial.mLineFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialMLineFromTextMethod2" datastore="oracle"/> <sql-method method="Spatial.mPointFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialMPointFromTextMethod"/> <sql-method method="Spatial.mPointFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialMPointFromTextMethod2" datastore="oracle"/> <sql-method method="Spatial.mPolyFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialMPolyFromTextMethod"/> <sql-method method="Spatial.mPolyFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialMPolyFromTextMethod2" datastore="oracle"/> <sql-method method="Spatial.geomCollFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeomCollFromTextMethod"/> <sql-method method="Spatial.geomCollFromText" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeomCollFromTextMethod2" datastore="oracle"/> <sql-method method="Spatial.envelope" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialEnvelopeMethod"/> <sql-method method="Spatial.envelope" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialEnvelopeMethod2" datastore="oracle"/> <sql-method method="Spatial.boundary" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialBoundaryMethod"/> <sql-method method="Spatial.boundary" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialBoundaryMethod2" datastore="oracle"/> <sql-method method="Spatial.convexHull" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialConvexHullMethod"/> <sql-method method="Spatial.convexHull" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialConvexHullMethod2" datastore="oracle"/> <sql-method method="Spatial.startPoint" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialStartPointMethod"/> <sql-method method="Spatial.startPoint" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialStartPointMethod2" datastore="oracle"/> <sql-method method="Spatial.endPoint" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialEndPointMethod"/> <sql-method method="Spatial.endPoint" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialEndPointMethod2" datastore="oracle"/> <sql-method method="Spatial.centroid" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialCentroidMethod"/> <sql-method method="Spatial.centroid" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialCentroidMethod2" datastore="oracle"/> <sql-method method="Spatial.pointOnSurface" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialPointOnSurfaceMethod"/> <sql-method method="Spatial.pointOnSurface" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialPointOnSurfaceMethod2" datastore="oracle"/> <sql-method method="Spatial.exteriorRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialExteriorRingMethod"/> <sql-method method="Spatial.exteriorRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialExteriorRingMethod2" datastore="oracle"/> <sql-method method="Spatial.equals" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialEqualsMethod"/> <sql-method method="Spatial.equals" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialEqualsMethod2" datastore="oracle"/> <sql-method method="Spatial.disjoint" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDisjointMethod"/> <sql-method method="Spatial.disjoint" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDisjointMethod2" datastore="oracle"/> <sql-method method="Spatial.intersects" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIntersectsMethod"/> <sql-method method="Spatial.intersects" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIntersectsMethod2" datastore="oracle"/> <sql-method method="Spatial.touches" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialTouchesMethod"/> <sql-method method="Spatial.touches" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialTouchesMethod2" datastore="oracle"/> <sql-method method="Spatial.crosses" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialCrossesMethod"/> <sql-method method="Spatial.crosses" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialCrossesMethod2" datastore="oracle"/> <sql-method method="Spatial.within" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialWithinMethod"/> <sql-method method="Spatial.within" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialWithinMethod2" datastore="oracle"/> <sql-method method="Spatial.contains" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialContainsMethod"/> <sql-method method="Spatial.contains" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialContainsMethod2" datastore="oracle"/> <sql-method method="Spatial.overlaps" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialOverlapsMethod"/> <sql-method method="Spatial.overlaps" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialOverlapsMethod2" datastore="oracle"/> <sql-method method="Spatial.relate" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialRelateMethod"/> <sql-method method="Spatial.relate" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialRelateMethod2" datastore="oracle"/> <sql-method method="Spatial.isClosed" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsClosedMethod"/> <sql-method method="Spatial.isClosed" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsClosedMethod2" datastore="oracle"/> <sql-method method="Spatial.isEmpty" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsEmptyMethod"/> <sql-method method="Spatial.isEmpty" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsEmptyMethod2" datastore="oracle"/> <sql-method method="Spatial.isRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsRingMethod"/> <sql-method method="Spatial.isRing" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsRingMethod2" datastore="oracle"/> <sql-method method="Spatial.isSimple" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsSimpleMethod"/> <sql-method method="Spatial.isSimple" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIsSimpleMethod2" datastore="oracle"/> <sql-method method="Spatial.buffer" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialBufferMethod"/> <sql-method method="Spatial.buffer" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialBufferMethod2" datastore="oracle"/> <sql-method method="Spatial.difference" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDifferenceMethod"/> <sql-method method="Spatial.difference" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialDifferenceMethod2" datastore="oracle"/> <sql-method method="Spatial.intersection" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIntersectionMethod"/> <sql-method method="Spatial.intersection" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialIntersectionMethod2" datastore="oracle"/> <sql-method method="Spatial.union" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialUnionMethod"/> <sql-method method="Spatial.union" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialUnionMethod2" datastore="oracle"/> <sql-method method="Spatial.union" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialUnionMethod3" datastore="postgresql"/> <sql-method method="Spatial.symDifference" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialSymDifferenceMethod"/> <sql-method method="Spatial.symDifference" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialSymDifferenceMethod2" datastore="oracle"/> <sql-method method="Spatial.interiorRingN" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialInteriorRingNMethod"/> <sql-method method="Spatial.interiorRingN" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialInteriorRingNMethod2" datastore="oracle"/> <sql-method method="Spatial.pointN" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialPointNMethod"/> <sql-method method="Spatial.pointN" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialPointNMethod2" datastore="oracle"/> <sql-method method="Spatial.geometryN" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeometryNMethod"/> <sql-method method="Spatial.geometryN" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeometryNMethod2" datastore="oracle"/> <sql-method method="Spatial.geomFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeomFromWKBMethod"/> <sql-method method="Spatial.geomFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeomFromWKBMethod2" datastore="oracle"/> <sql-method method="Spatial.geomCollFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeomCollFromWKBMethod"/> <sql-method method="Spatial.geomCollFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialGeomCollFromWKBMethod2" datastore="oracle"/> <sql-method method="Spatial.pointFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialPointFromWKBMethod"/> <sql-method method="Spatial.pointFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialPointFromWKBMethod2" datastore="oracle"/> <sql-method method="Spatial.mPointFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialMPointFromWKBMethod"/> <sql-method method="Spatial.mPointFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialMPointFromWKBMethod2" datastore="oracle"/> <sql-method method="Spatial.lineFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialLineFromWKBMethod"/> <sql-method method="Spatial.lineFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialLineFromWKBMethod2" datastore="oracle"/> <sql-method method="Spatial.mLineFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialMLineFromWKBMethod"/> <sql-method method="Spatial.mLineFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialMLineFromWKBMethod2" datastore="oracle"/> <sql-method method="Spatial.polyFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialPolyFromWKBMethod"/> <sql-method method="Spatial.polyFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialPolyFromWKBMethod2" datastore="oracle"/> <sql-method method="Spatial.mPolyFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialMPolyFromWKBMethod"/> <sql-method method="Spatial.mPolyFromWKB" evaluator="org.datanucleus.store.rdbms.sql.method.SpatialMPolyFromWKBMethod2" datastore="oracle"/> <sql-method method="Spatial.boundary" evaluator="org.datanucleus.store.rdbms.sql.method.MySQLUnsupportedMethod" datastore="mysql"/> <sql-method method="Spatial.isEmpty" evaluator="org.datanucleus.store.rdbms.sql.method.MySQLUnsupportedMethod" datastore="mysql"/> <sql-method method="Spatial.isSimple" evaluator="org.datanucleus.store.rdbms.sql.method.MySQLUnsupportedMethod" datastore="mysql"/> <sql-method method="Spatial.crosses" evaluator="org.datanucleus.store.rdbms.sql.method.MySQLUnsupportedMethod" datastore="mysql"/> <sql-method method="Spatial.relate" evaluator="org.datanucleus.store.rdbms.sql.method.MySQLUnsupportedMethod" datastore="mysql"/> <sql-method method="Spatial.distance" evaluator="org.datanucleus.store.rdbms.sql.method.MySQLUnsupportedMethod" datastore="mysql"/> <sql-method method="Spatial.buffer" evaluator="org.datanucleus.store.rdbms.sql.method.MySQLUnsupportedMethod" datastore="mysql"/> <sql-method method="Spatial.convexHull" evaluator="org.datanucleus.store.rdbms.sql.method.MySQLUnsupportedMethod" datastore="mysql"/> <sql-method method="Spatial.intersection" evaluator="org.datanucleus.store.rdbms.sql.method.MySQLUnsupportedMethod" datastore="mysql"/> <sql-method method="Spatial.union" evaluator="org.datanucleus.store.rdbms.sql.method.MySQLUnsupportedMethod" datastore="mysql"/> <sql-method method="Spatial.difference" evaluator="org.datanucleus.store.rdbms.sql.method.MySQLUnsupportedMethod" datastore="mysql"/> <sql-method method="Spatial.symDifference" evaluator="org.datanucleus.store.rdbms.sql.method.MySQLUnsupportedMethod" datastore="mysql"/> <sql-method method="Spatial.isRing" evaluator="org.datanucleus.store.rdbms.sql.method.MySQLUnsupportedMethod" datastore="mysql"/> <sql-method method="Spatial.centroid" evaluator="org.datanucleus.store.rdbms.sql.method.MySQLUnsupportedMethod" datastore="mysql"/> <sql-method method="Spatial.pointOnSurface" evaluator="org.datanucleus.store.rdbms.sql.method.MySQLUnsupportedMethod" datastore="mysql"/> </extension> <!-- QUERY METHODS --> <extension point="org.datanucleus.query_method_prefix"> <query-method-prefix prefix="Spatial" alias="Spatial"/> <query-method-prefix prefix="MySQL" alias="MySQL"/> <query-method-prefix prefix="Oracle" alias="Oracle"/> <query-method-prefix prefix="PostGIS" alias="PostGIS"/> </extension> <!-- JAVA TYPES MAPPING --> <extension point="org.datanucleus.store_mapping"> <!-- Oracle's JGeometry --> <mapping java-type="oracle.spatial.geometry.JGeometry" mapping-class="org.datanucleus.store.rdbms.mapping.jgeom.JGeometryMapping"/> <!-- JTS geometries --> <mapping java-type="com.vividsolutions.jts.geom.Geometry" mapping-class="org.datanucleus.store.rdbms.mapping.jts.GeometryMapping"/> <mapping java-type="com.vividsolutions.jts.geom.GeometryCollection" mapping-class="org.datanucleus.store.rdbms.mapping.jts.GeometryCollectionMapping"/> <mapping java-type="com.vividsolutions.jts.geom.LinearRing" mapping-class="org.datanucleus.store.rdbms.mapping.jts.LinearRingMapping"/> <mapping java-type="com.vividsolutions.jts.geom.LineString" mapping-class="org.datanucleus.store.rdbms.mapping.jts.LineStringMapping"/> <mapping java-type="com.vividsolutions.jts.geom.MultiLineString" mapping-class="org.datanucleus.store.rdbms.mapping.jts.MultiLineStringMapping"/> <mapping java-type="com.vividsolutions.jts.geom.MultiPoint" mapping-class="org.datanucleus.store.rdbms.mapping.jts.MultiPointMapping"/> <mapping java-type="com.vividsolutions.jts.geom.MultiPolygon" mapping-class="org.datanucleus.store.rdbms.mapping.jts.MultiPolygonMapping"/> <mapping java-type="com.vividsolutions.jts.geom.Point" mapping-class="org.datanucleus.store.rdbms.mapping.jts.PointMapping"/> <mapping java-type="com.vividsolutions.jts.geom.Polygon" mapping-class="org.datanucleus.store.rdbms.mapping.jts.PolygonMapping"/> <!-- PostGIS JDBC geometries --> <mapping java-type="org.postgis.PGbox2d" mapping-class="org.datanucleus.store.rdbms.mapping.pg.PGbox2dMapping"/> <mapping java-type="org.postgis.PGbox3d" mapping-class="org.datanucleus.store.rdbms.mapping.pg.PGbox3dMapping"/> <mapping java-type="org.postgis.Geometry" mapping-class="org.datanucleus.store.rdbms.mapping.pg.GeometryMapping"/> <mapping java-type="org.postgis.GeometryCollection" mapping-class="org.datanucleus.store.rdbms.mapping.pg.GeometryCollectionMapping"/> <mapping java-type="org.postgis.LinearRing" mapping-class="org.datanucleus.store.rdbms.mapping.pg.LinearRingMapping"/> <mapping java-type="org.postgis.LineString" mapping-class="org.datanucleus.store.rdbms.mapping.pg.LineStringMapping"/> <mapping java-type="org.postgis.MultiLineString" mapping-class="org.datanucleus.store.rdbms.mapping.pg.MultiLineStringMapping"/> <mapping java-type="org.postgis.MultiPoint" mapping-class="org.datanucleus.store.rdbms.mapping.pg.MultiPointMapping"/> <mapping java-type="org.postgis.MultiPolygon" mapping-class="org.datanucleus.store.rdbms.mapping.pg.MultiPolygonMapping"/> <mapping java-type="org.postgis.Point" mapping-class="org.datanucleus.store.rdbms.mapping.pg.PointMapping"/> <mapping java-type="org.postgis.Polygon" mapping-class="org.datanucleus.store.rdbms.mapping.pg.PolygonMapping"/> </extension> <!-- DATASTORE TYPES MAPPING --> <extension point="org.datanucleus.store.rdbms.rdbms_mapping"> <!-- ****************** --> <!-- Oracle's JGeometry --> <!-- ****************** --> <!-- jgeom2mysql --> <mapping java-type="oracle.spatial.geometry.JGeometry" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jgeom2mysql.JGeometryRDBMSMapping" jdbc-type="BINARY" sql-type="geometry" default="true"> <includes vendor-id="mysql"/> </mapping> <!-- jgeom2oracle --> <mapping java-type="oracle.spatial.geometry.JGeometry" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jgeom2oracle.JGeometryRDBMSMapping" jdbc-type="STRUCT" sql-type="SDO_GEOMETRY" default="true"> <includes vendor-id="oracle"/> </mapping> <!-- ************** --> <!-- JTS geometries --> <!-- ************** --> <!-- jts2mysql --> <mapping java-type="com.vividsolutions.jts.geom.Geometry" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2mysql.GeometryRDBMSMapping" jdbc-type="BINARY" sql-type="geometry" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.GeometryCollection" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2mysql.GeometryCollectionRDBMSMapping" jdbc-type="BINARY" sql-type="geometrycollection" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.LinearRing" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2mysql.LinearRingRDBMSMapping" jdbc-type="BINARY" sql-type="linestring" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.LineString" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2mysql.LineStringRDBMSMapping" jdbc-type="BINARY" sql-type="linestring" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.MultiLineString" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2mysql.MultiLineStringRDBMSMapping" jdbc-type="BINARY" sql-type="multilinestring" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.MultiPolygon" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2mysql.MultiPolygonRDBMSMapping" jdbc-type="BINARY" sql-type="multipolygon" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.MultiPoint" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2mysql.MultiPointRDBMSMapping" jdbc-type="BINARY" sql-type="multipoint" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.Point" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2mysql.PointRDBMSMapping" jdbc-type="BINARY" sql-type="point" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.Polygon" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2mysql.PolygonRDBMSMapping" jdbc-type="BINARY" sql-type="polygon" default="true"> <includes vendor-id="mysql"/> </mapping> <!-- jts2oracle --> <mapping java-type="com.vividsolutions.jts.geom.Geometry" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2oracle.GeometryRDBMSMapping" jdbc-type="STRUCT" sql-type="SDO_GEOMETRY" default="true"> <includes vendor-id="oracle"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.GeometryCollection" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2oracle.GeometryRDBMSMapping" jdbc-type="STRUCT" sql-type="SDO_GEOMETRY" default="true"> <includes vendor-id="oracle"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.LinearRing" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2oracle.LinearRingRDBMSMapping" jdbc-type="STRUCT" sql-type="SDO_GEOMETRY" default="true"> <includes vendor-id="oracle"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.LineString" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2oracle.GeometryRDBMSMapping" jdbc-type="STRUCT" sql-type="SDO_GEOMETRY" default="true"> <includes vendor-id="oracle"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.MultiLineString" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2oracle.GeometryRDBMSMapping" jdbc-type="STRUCT" sql-type="SDO_GEOMETRY" default="true"> <includes vendor-id="oracle"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.MultiPolygon" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2oracle.GeometryRDBMSMapping" jdbc-type="STRUCT" sql-type="SDO_GEOMETRY" default="true"> <includes vendor-id="oracle"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.MultiPoint" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2oracle.GeometryRDBMSMapping" jdbc-type="STRUCT" sql-type="SDO_GEOMETRY" default="true"> <includes vendor-id="oracle"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.Point" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2oracle.GeometryRDBMSMapping" jdbc-type="STRUCT" sql-type="SDO_GEOMETRY" default="true"> <includes vendor-id="oracle"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.Polygon" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2oracle.GeometryRDBMSMapping" jdbc-type="STRUCT" sql-type="SDO_GEOMETRY" default="true"> <includes vendor-id="oracle"/> </mapping> <!-- jts2postgis --> <mapping java-type="com.vividsolutions.jts.geom.Geometry" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2postgis.GeometryRDBMSMapping" jdbc-type="OTHER" sql-type="geometry" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.GeometryCollection" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2postgis.GeometryCollectionRDBMSMapping" jdbc-type="OTHER" sql-type="geometry" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.LinearRing" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2postgis.LinearRingRDBMSMapping" jdbc-type="OTHER" sql-type="geometry" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.LineString" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2postgis.LineStringRDBMSMapping" jdbc-type="OTHER" sql-type="geometry" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.MultiLineString" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2postgis.MultiLineStringRDBMSMapping" jdbc-type="OTHER" sql-type="geometry" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.MultiPolygon" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2postgis.MultiPolygonRDBMSMapping" jdbc-type="OTHER" sql-type="geometry" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.MultiPoint" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2postgis.MultiPointRDBMSMapping" jdbc-type="OTHER" sql-type="geometry" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.Point" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2postgis.PointRDBMSMapping" jdbc-type="OTHER" sql-type="geometry" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="com.vividsolutions.jts.geom.Polygon" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.jts2postgis.PolygonRDBMSMapping" jdbc-type="OTHER" sql-type="geometry" default="true"> <includes vendor-id="postgresql"/> </mapping> <!-- *********************** --> <!-- PostGIS JDBC geometries --> <!-- *********************** --> <!-- pg2mysql --> <mapping java-type="org.postgis.Geometry" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2mysql.GeometryRDBMSMapping" jdbc-type="BINARY" sql-type="geometry" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="org.postgis.GeometryCollection" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2mysql.GeometryCollectionRDBMSMapping" jdbc-type="BINARY" sql-type="geometry" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="org.postgis.LinearRing" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2mysql.LinearRingRDBMSMapping" jdbc-type="BINARY" sql-type="geometry" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="org.postgis.LineString" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2mysql.LineStringRDBMSMapping" jdbc-type="BINARY" sql-type="geometry" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="org.postgis.MultiLineString" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2mysql.MultiLineStringRDBMSMapping" jdbc-type="BINARY" sql-type="geometry" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="org.postgis.MultiPolygon" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2mysql.MultiPolygonRDBMSMapping" jdbc-type="BINARY" sql-type="geometry" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="org.postgis.MultiPoint" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2mysql.MultiPointRDBMSMapping" jdbc-type="BINARY" sql-type="geometry" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="org.postgis.Point" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2mysql.PointRDBMSMapping" jdbc-type="BINARY" sql-type="geometry" default="true"> <includes vendor-id="mysql"/> </mapping> <mapping java-type="org.postgis.Polygon" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2mysql.PolygonRDBMSMapping" jdbc-type="BINARY" sql-type="geometry" default="true"> <includes vendor-id="mysql"/> </mapping> <!-- pg2postgis --> <mapping java-type="org.postgis.Geometry" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2postgis.GeometryRDBMSMapping" sql-type="geometry" jdbc-type="OTHER" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="org.postgis.GeometryCollection" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2postgis.GeometryCollectionRDBMSMapping" sql-type="geometry" jdbc-type="OTHER" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="org.postgis.LinearRing" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2postgis.LinearRingRDBMSMapping" sql-type="geometry" jdbc-type="OTHER" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="org.postgis.LineString" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2postgis.LineStringRDBMSMapping" sql-type="geometry" jdbc-type="OTHER" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="org.postgis.MultiLineString" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2postgis.MultiLineStringRDBMSMapping" sql-type="geometry" jdbc-type="OTHER" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="org.postgis.MultiPolygon" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2postgis.MultiPolygonRDBMSMapping" sql-type="geometry" jdbc-type="OTHER" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="org.postgis.MultiPoint" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2postgis.MultiPointRDBMSMapping" sql-type="geometry" jdbc-type="OTHER" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="org.postgis.Point" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2postgis.PointRDBMSMapping" sql-type="geometry" jdbc-type="OTHER" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="org.postgis.Polygon" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2postgis.PolygonRDBMSMapping" sql-type="geometry" jdbc-type="OTHER" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="org.postgis.PGbox2d" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2postgis.PGbox2dRDBMSMapping" sql-type="box2d" jdbc-type="OTHER" default="true"> <includes vendor-id="postgresql"/> </mapping> <mapping java-type="org.postgis.PGbox3d" rdbms-mapping-class="org.datanucleus.store.rdbms.mapping.pg2postgis.PGbox3dRDBMSMapping" sql-type="box3d" jdbc-type="OTHER" default="true"> <includes vendor-id="postgresql"/> </mapping> </extension> </plugin>