Commit Graph

6112 Commits

Author SHA1 Message Date
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
Steve Ebersole ae43670290 HHH-9724 - More complete "temp table" coverage and allow Dialects to influence which strategy is used 2015-04-23 15:21:27 -05:00
Steve Ebersole 52589379e1 HHH-9732 - Audit code for spots that would benefit from a case-insensitive keyed Map 2015-04-22 13:17:21 -05:00
Steve Ebersole 3c85127f82 HHH-9716 - Previously working schema creation fails on 5.0 2015-04-22 11:09:51 -05:00
John O'Hara 3e5a8b6603 HHH-9701 - Develop "immutable EntityEntry" impl 2015-04-22 13:24:02 +01:00
Gail Badner 5269bcbeeb HHH-9737 : Miscellaneous bugs in unit tests when using non-default dialects
(cherry picked from commit a6969ceb0a)
2015-04-21 12:28:16 -07:00
Steve Ebersole d2c50f16f2 HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-21 13:49:06 -05:00
Steve Ebersole e8af41637f HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-21 11:56:06 -05:00
Gail Badner df8cc6d4be HHH-9250 : BigIntegerSequenceGeneratorTest.testBasics fails on MS SQL Server 2012
(cherry picked from commit 49fed0938e)
2015-04-20 17:47:17 -07:00
Steve Ebersole 4541f7b501 HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-20 15:21:37 -05:00
Steve Ebersole bf3669a7de HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-20 12:18:34 -05:00
Steve Ebersole 5fe83ba4c8 HHH-9717 - Build script improvements 2015-04-20 12:00:12 -05:00
Steve Ebersole 0993d78e97 HHH-9724 - More complete "temp table" coverage and allow Dialects to influence which strategy is used 2015-04-17 16:36:39 -05:00
Steve Ebersole 06b6135a11 HHH-9724 - More complete "temp table" coverage and allow Dialects to influence which strategy is used - initial work 2015-04-17 16:25:40 -05:00
Brett Meyer 7ca12c7d80 HHH-9722 cleanup, removed StringHelper methods 2015-04-17 15:53:24 -04:00
10urshin 1361925bc7 HHH-9722
Changed all toLowerCase() and toUpperCase() to toLowerCase(Locale.ROOT),
toUpperCase(Locale.ROOT).
2015-04-17 15:53:24 -04:00
Steve Ebersole f0029d49bc HHH-9717 - Build script improvements - checkstyle and findbugs 2015-04-17 13:03:10 -05:00
Steve Ebersole 9abb981ac2 HHH-9733 - Add checks for no-arg uses of String#toUpperCase and String#toLowerCase 2015-04-17 12:21:00 -05:00
Steve Ebersole f77b861137 HHH-9716 - Previously working schema creation fails on 5.0 2015-04-17 11:05:39 -05:00
Steve Ebersole b6ae9edb4e HHH-9716 - Previously working schema creation fails on 5.0 2015-04-17 11:02:13 -05:00
Steve Ebersole 76d732d53a HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-16 14:19:11 -05:00
Steve Ebersole b1bbae2783 HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-16 09:02:28 -05:00