Commit Graph

130 Commits

Author SHA1 Message Date
Karel Maesen e80a67307f HHH-6509 - Updates to latest BaseCoreFunctionalTestCase interface. 2015-04-24 05:55:54 -05:00
Karel Maesen f0bb66fe8b HHH-6509 - Updates Log interface to newer version. 2015-04-24 05:55:54 -05:00
Karel Maesen eb8992a70b HHH-6509 - Aligns with metamodel-to-master merge. 2015-04-24 05:55:54 -05:00
Karel Maesen 55bec79cd4 HHH-6509 - Adds DialectFactoryContributor 2015-04-24 05:55:54 -05:00
Karel Maesen c55d250025 Backports HIBSPA-95 HIBSPA-99, HIBSPA-100, HIBSPA-101, HIBSPA-102.
Conflicts:
	hibernate-spatial/databases/mysql5_innodb/resources/hibernate.properties
	hibernate-spatial/hibernate-spatial.gradle
	hibernate-spatial/src/main/java/org/hibernate/spatial/criterion/DWithinExpression.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/h2geodb/GeoDBDialect.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/h2geodb/WKB.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/OracleJDBCTypeFactory.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/OracleSpatial10gDialect.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/SDOGeometry.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/SDOGeometryTypeDescriptor.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/SDOGeometryValueBinder.java
	hibernate-spatial/src/main/java/org/hibernate/spatial/integration/SpatialIntegrator.java
	hibernate-spatial/src/test/java/org/hibernate/spatial/integration/GeomEntity.java
	hibernate-spatial/src/test/java/org/hibernate/spatial/integration/TestSpatialFunctions.java
	hibernate-spatial/src/test/java/org/hibernate/spatial/testing/SpatialFunctionalTestCase.java
	hibernate-spatial/src/test/java/org/hibernate/spatial/testing/TestSupportFactories.java
	hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/h2geodb/GeoDBExpectationsFactory.java
	hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/mysql/MySQLExpectationsFactory.java
	hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/oracle/SDOGeometryExpectationsFactory.java
	hibernate-spatial/src/test/resources/hibernate.properties
2015-04-24 05:55:54 -05:00
Karel Maesen 6e91485549 HHH-6509 - Improves how SpatialFunctionalTestCase extends BasecoreFunctionalTestCase. 2015-04-24 05:55:53 -05:00
Karel Maesen d226ef36f2 HHH-6509 - Change type contribution: SpatialDialects now register types.
This is done so that in a later stage we can more easily customize the
type mapping to the dialect (e.g. in the case of Oracle Spatial).
2015-04-24 05:55:53 -05:00
Karel Maesen 290c8354b3 HHH-6511 - Fixes Postgis, Mysql, SQL Server and GeoDB dialects for geolatte/jts integration. 2015-04-24 05:55:53 -05:00
Karel Maesen 0d5dfa64cd HHH-6509 - Duplicates integration test to check both for JTS and Geolatte
compatibility.
2015-04-24 05:55:53 -05:00
Karel Maesen 8475bfed87 HHH-6509 - Updates to new TypeContributor interface. 2015-04-24 05:55:53 -05:00
Karel Maesen c9f27779dd HHH-6511 - Uses Geolatte-Geom WKB encoder/decoder for Postgis dialect.
HHH-7126 - Uses Geolatte-Geom WKB encoder/decoder for GeoDB dialect.
2015-04-24 05:55:53 -05:00
Karel Maesen 24e7762a3a Updates names to reflect switch from JTS to Geolatte. 2015-04-24 05:55:53 -05:00
Karel Maesen cf03fe2592 HHH-6513 - Sqlserver encoder/decoders now use Geolatte-geom.
Bumps geolatte version to 0.12-SNAPSHOT
2015-04-24 05:55:53 -05:00
Karel Maesen b4b626c398 HHH-6511 - Geolatte WKT decoder replaces custom EWKT parser. 2015-04-24 05:55:53 -05:00
Karel Maesen 4b7c319cc0 HHH-6509 - Introduces GeolatteGeometryJavaType. 2015-04-24 05:55:53 -05:00
Karel Maesen ea833fcdbb HHH-6509 - Simplifies SqlServer2008 ValueBinder and ValueExtractor
implementations.
2015-04-24 05:55:53 -05:00
Karel Maesen 0e17f9adf8 HHH-6509 - Prepare introduction of Geolatte-geom library as model
Updates testing approach
Refactors ValueBinders and ValueExtractors
2015-04-24 05:55:53 -05:00
Karel Maesen f4fb79aa04 HHH-7126 Adds H2/GeoDB support, incl. integration tests. 2015-04-24 05:55:53 -05:00
Karel Maesen 4bb8d99a8a HHH-6514 Integrated MySQL support.
Adds MySQL spatial dialects (for base engine and InnoDB).
Adds MySQL matrix integration test support.
Refactoring ValueBinder and ValueExtractor for all dialects.
2015-04-24 05:55:52 -05:00
Karel Maesen a4e8d02ead HHH-6513 Fixes SQL Server 2008 integration tests. 2015-04-24 05:55:52 -05:00
Karel Maesen 28cf93f6eb HHH-6512 Adds Oracle10g (SDOGeometry) integration tests. 2015-04-24 05:55:52 -05:00
Karel Maesen c07657685c HHH-6511 Moved custom test matrix configuration into hibernate-spatial
module.
2015-04-24 05:55:52 -05:00
Karel Maesen 619c9ed515 HHH-6971 Migrates logging to JBoss logging. 2015-04-24 05:55:52 -05:00
Karel Maesen ee96098ead HHH-6509 Removes obsolete code
This removes the HBSpatial static bootstrap class and the old SPI
mechanism. Both had become obsolete because of how spatial now
integrates with core.

Also reorganizes the packages to have all JTS extensions and utilities
in a jts package.
2015-04-24 05:55:52 -05:00
Karel Maesen 50a648ed32 HHH-6511 Refactors spatial integration tests.
Spatial integration tests are now more in line with the Hibernate Core
integration tests.
2015-04-24 05:55:52 -05:00
Karel Maesen f114ca2944 HHH-6511 Adds Postgis integration tests.
The integration tests now make us of the matrix testing set-up.
2015-04-24 05:55:52 -05:00
Karel Maesen 0c0a5e2af0 HHH-6510 Added SQL Server 2008 support.
Converts SQL Server convertor integration tests to proper unit tests.
2015-04-24 05:55:52 -05:00
Karel Maesen f7f39cb8d2 HHH-6510 Added Oracle SDOGeometry support. 2015-04-24 05:55:52 -05:00
Karel Maesen 79d02e2f9d HHH-6510 Minor cleanups; code formatting changed to Hibernate conventions. 2015-04-24 05:55:52 -05:00
Karel Maesen 812da6e7cd HHH-6510 : Initial commit.
Source code copied from Hibernate Spatial 1.1.1-SNAPSHOT.
Root package is now org.hibernate.spatial (instead of org.hibernatespatial)
GeometryType replaces GeometryUserType.
SpatialDialects remap SpatialSqlTypeDescriptors.
Hibernate Spatial registers GeometryType in Integrator (temporary fix: see HHH-6507).
2015-04-24 05:55:52 -05:00