Commit Graph

6325 Commits

Author SHA1 Message Date
Steve Ebersole 148159fadc HHH-9747 - Import initial reworking of transaction handling (based on JdbcSession work) 2015-04-24 13:34:42 -05:00
Andrea Boriero b476094d43 HHH-9747 - Import initial reworking of transaction handling (based on JdbcSession work) 2015-04-24 10:58:08 -05:00
Steve Ebersole 82b312dd21 HHH-9746 - Improve hibernate-spatial integration;
plus added copyright headers
2015-04-24 09:28:13 -05:00
Karel Maesen 620a379f89 HHH-6509 - Adds sonatype repository for geolatte-geom snapshots 2015-04-24 05:55:54 -05:00
Karel Maesen 9d2bf8b467 HHH-6509 - Fixes Oracle11g integration tests 2015-04-24 05:55:54 -05:00
Karel Maesen 609d404627 HHH-6509 - Adds TypeContributor bootstrap 2015-04-24 05:55:54 -05:00
Karel Maesen e2b44fb130 HHH-6511 - Fixes insert template for PostGis 2.x (test code) 2015-04-24 05:55:54 -05:00
Karel Maesen 9ccd331831 HHH-6509 - Using jboss message logger for logging 2015-04-24 05:55:54 -05:00
Karel Maesen 97de410e8c HHH-6509 : updates to beta-1 2015-04-24 05:55:54 -05:00
Karel Maesen 2738d0f5c7 HHH-6512 - Refactors Oracle support. 2015-04-24 05:55:54 -05:00
Karel Maesen dbfeb16e43 HHH-6509 - Updates to geolatte-geom 1.0-SNAPSHOT 2015-04-24 05:55:54 -05:00
Karel Maesen ed98698aa4 HHH-6509 - Cleans up findBug warnings. 2015-04-24 05:55:54 -05:00
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
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