Rev 231 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?xml version="1.0" encoding="UTF-8"?><document><header /><body><section name="The Hibernate Spatial H2 GeoDB Provider"><p>The H2 GeoDB Provider adds support for H2 GeoDB toHibernateSpatial. It has been tested with H2 GeoDB 0.3and should work withany version later than that.</p><subsection name="Important notes" /><ul><li>Note that H2 GeoDB does not completely implement the OGC SimpleFeature Specification.Some functions that work for PostGIS orOraclemay fail to work for H2GeoDB.</li><li>Note that version 0.3 does not store the SRID with the geometry.This isdue to an omission in the JTS API. Version 0.4 solved thisissue byextending the JTS API, but the fix was committed in theopengeorepository. To use version 0.4, you have to include theGeoTools Maven repository (<a href="http://repo.opengeo.org/com/vividsolutions/jts/1.12-SNAPSHOT/">http://repo.opengeo.org/com/vividsolutions/jts/1.12-SNAPSHOT/</a>) and you cannot use other JTS versions.</li><li>Note that EWKT byte arrays generated by GeoDB version 0.6 (withGeoDB.gToEWKB(Geometry)) seem to have redundant bytes at positions42-45, resulting in a incorrect EWKT. As a result, accessingEKWTobjects in the database generated by GeoDB.gToEWKB withhibernate-spatial may give jts Parse Exceptions.<br/>See <a href="https://github.com/jdeolive/geodb/issues/10">GeoDB issue #10</a></li></ul></section></body></document>