Steve Ebersole
9fe3c861ca
HHH-15023 - Move Query and NativeQuery back to org.hibernate.query
2022-01-14 14:49:17 -06:00
Steve Ebersole
fda6e96c5e
HHH-15023 - Move Query and NativeQuery back to org.hibernate
2022-01-11 21:01:56 -06:00
Steve Ebersole
8f5fefd806
HHH-15017 - Clean-up Query#setParameter overloads
...
- https://hibernate.atlassian.net/browse/HHH-15017
2022-01-10 12:25:38 -06:00
Steve Ebersole
b62c23ab29
HHH-15017 - Clean-up Query#setParameter overloads
...
- https://hibernate.atlassian.net/browse/HHH-15017
2022-01-10 12:25:38 -06:00
Gavin King
cc91beb536
typecheck HQL function arguments
2022-01-06 18:10:00 +01:00
Andrea Boriero
67f73f20ef
Remove few NotYetImplementedFor6Exception
2021-12-23 21:33:01 +01:00
Steve Ebersole
7a6cef5838
Miscellaneous
...
- Finished DialectVersion
- User Guide tidying
- User Guide section on AttributeBinder
2021-12-09 00:51:40 -06:00
Karel Maesen
aded53a760
HHH-14808 Fix PredicateSmokeTest
...
Refactors SpatialTestBase to use a SessionFactoryAware
implementation that performs necessary initialisations
(e.g. H2).
2021-11-22 14:52:24 -06:00
Karel Maesen
8a96c4e7c7
HHH-4925 Minor fixes
2021-11-15 16:17:11 +01:00
Karel Maesen
5a7ad6d11c
HHH-14925 Add additional unit tests.
2021-11-15 16:17:11 +01:00
Karel Maesen
0300e54fef
HHH-14925 Remove deprecated BasicType implementations
2021-11-15 16:17:11 +01:00
Karel Maesen
f4909b7046
Downgrade H2
2021-11-15 16:17:11 +01:00
Karel Maesen
e48da8d52c
HHH-14925 Switch for Postgis to javatype/jdbctype
...
Also some documentation improvements and dead code removal.
2021-11-15 16:17:11 +01:00
Karel Maesen
cf477a61ff
HHH-14803 Use MySQLGeometryJdbcType for MariaDB
2021-11-15 16:17:11 +01:00
Karel Maesen
54967d0265
HHH-14804 Various improvements
2021-11-15 16:17:11 +01:00
Karel Maesen
022d2c0a13
HHH-14906 Fix naming inconsistencies
...
Also fixes some minor checkstyle violations and
removes dead code
2021-11-15 16:17:11 +01:00
Karel Maesen
65aa8f7a5b
HHH-14804 Upgrade MySQL8 support
2021-11-15 16:17:11 +01:00
Karel Maesen
2deee38103
HHH-14906 Support for H2GIS
...
Notice that the tests cannot be run from the gradlew cli due to
compatability issues with the H2 version
2021-11-15 16:17:11 +01:00
Karel Maesen
9f70a6b100
HHH-14804 Upgrade MySQL spatial support (WIP)
2021-11-15 16:17:11 +01:00
Karel Maesen
0636f1de14
HHH-14803 Upgrade MariaDB Spatial support
2021-11-15 16:17:11 +01:00
Christian Beikov
a4e406a54e
* Add SqlTypes as analogy to java.sql.Types containing constants for Hibernate specified types
...
* Add FormatMapper for a pluggable JSON serialization and deserialization strategy
* Add native UUID type support for H2, Cockroach, PostgreSQL
* Add native INET type support for Cockroach, PostgreSQL
* Add native JSON type support for MySQL, Cockroach, PostgreSQL
* Add native INTERVAL SECOND type support for H2, Cockroach, PostgreSQL
* Add fallback JdbcTypes for new SqlTypes
* Register column types for new SqlTypes
* Add support for BasicTypeReference in TypedParameterValue
* Fix a lot of method signatures with respect to type parameter issues
* Fix CustomType, UserType and EnhancedUserType with respect to type parameters
* Get rid of StringRepresentableType and some other unused deprecated methods
2021-10-19 16:33:36 +02:00
Christian Beikov
9fa2671cbc
Update to Gradle 7.2
2021-10-19 11:07:39 +02:00
Steve Ebersole
686d8fcbf1
HHH-14870 - Rename {Xyz}TypeDescriptor as {Xyz}Type
...
* `JavaTypeDescriptor` -> `JavaType`
* `JdbcTypeDescriptor` -> `JdbcType`
2021-10-11 13:13:13 -05:00
Steve Ebersole
3a0065eea4
HHH-14870 - Rename {Xyz}TypeDescriptor as {Xyz}Type
...
* `JavaTypeDescriptor` -> `JavaType`
* `JdbcTypeDescriptor` -> `JdbcType`
2021-10-11 13:11:32 -05:00
Christian Beikov
597f4bdf6a
Get rid of JdbcTypeDescriptor remapping
2021-10-11 16:11:46 +02:00
Christian Beikov
710ebe57b0
Get rid of using specialized BasicType implementations and references to those and instead use a BasicTypeReference that is lazily resolved
2021-10-07 08:15:53 +02:00
Christian Beikov
1cb6ff8916
Cleanup naming of JavaTypeDescriptor and JdbcTypeDescriptor implementations. Get rid of PrimitiveType, IdentifierType, DiscriminatorType and AllowableTemporalParameterType
2021-10-07 08:15:53 +02:00
Christian Beikov
81e66fa970
Get rid of LiteralType
2021-10-07 08:15:53 +02:00
Christian Beikov
9e83129fc3
Change JavaTypeDescriptor#fromString to accept a CharSequence instead of String and introduce CharSequence utilities to avoid creating intermediate strings
2021-10-05 15:18:38 +02:00
Christian Beikov
c5baae7e11
Improve SQL rendering performance by avoiding intermediate String objects
2021-10-05 15:18:38 +02:00
Christian Beikov
d8b984ed7f
Fix some column type definitions in dialects regarding their maximum capacities. Allow the dialect to resolve the length based on type code, type name, precision, scale and display size. Fix some dialect related issues with tests. Fix untyped null parameter binding issues
2021-09-30 13:52:31 +02:00
Steve Ebersole
439f4fb208
HHH-14848 - Move Ant tasks + support from hibernate-core into tooling/hibernate-ant
2021-09-29 02:09:58 -05:00
Steve Ebersole
998caa56af
HHH-14848 - Move Ant tasks + support from hibernate-core into tooling/hibernate-ant
2021-09-29 01:31:47 -05:00
Steve Ebersole
089a3f86ae
HHH-14837 - Move to Jakarta EE
...
preliminary transformation;
only `javax.persistence.*` settings supported atm
2021-09-27 08:21:27 -05:00
Karel Maesen
44babcb880
HHH-14738 Remove redundant function contribution
2021-09-21 11:55:41 +02:00
Karel Maesen
b88596df6a
HHH-14808 SpatialPredicates use value() method for literal expressions
2021-09-21 11:55:41 +02:00
Karel Maesen
9de428ac1a
HHH-14800 Remove redundant doBindNull() overrides
2021-09-21 11:55:41 +02:00
Karel Maesen
3995c644d1
HHH-14800 Implements suggestions from code review
...
- set version in deprecated Postgis dialects
- fast path for Contributor resolution
- add TODO label for Ignored tests
2021-09-21 11:55:41 +02:00
Karel Maesen
cf854c5cfc
Fix checkstyle errors
2021-09-21 11:55:41 +02:00
Karel Maesen
5bae2d8196
HHH-14808 Basic SpatialPredicates
2021-09-21 11:55:41 +02:00
Karel Maesen
f72d6045b1
HHH-14738 Add test cases for functions with parameter arguments
...
Fix rebase errors
2021-09-21 11:55:41 +02:00
Karel Maesen
60d3914769
HHH-14738 Refactor common test setup to base class
2021-09-21 11:55:41 +02:00
Karel Maesen
331ae9d5c9
HHH-14738 Ignore spatial tests for dialects not supported by Spatial
2021-09-21 11:55:41 +02:00
Karel Maesen
9316c161c7
HHH-14802 Update CockroachDB support for 6
2021-09-21 11:55:41 +02:00
Karel Maesen
bc44d65eb3
HHH-14801 Register alternative function names for backwards compatibility
2021-09-21 11:55:41 +02:00
Karel Maesen
e185ec8913
HHH-14738 Clean up obsolete test support code
2021-09-21 11:55:41 +02:00
Karel Maesen
ba47586634
HHH-14801 Register remaining spatial functions for Postgis
...
Add more spatial functions
2021-09-21 11:55:41 +02:00
Karel Maesen
24c5099eb7
HHH-14801 Improve registering functions for Postgis
2021-09-21 11:55:41 +02:00
Karel Maesen
35f42528fb
HHH-14738 Using DynamicTests to test function/entity combinations
2021-09-21 11:55:41 +02:00
Karel Maesen
9251e8bfdc
HHH-14801 Add ServiceRegistry as a parameter to the SqmFunctionDescriptors constructor
2021-09-21 11:55:41 +02:00
Karel Maesen
71b197d362
HHH-14738 Refactor spatial functions integration tests
2021-09-21 11:55:41 +02:00
Karel Maesen
f5f0ccfdd3
HHH-14800 Use FunctionContributor interface to register spatial functions
2021-09-21 11:55:41 +02:00
Karel Maesen
0b9de79a7d
HHH-14800 Use TypeContributor to register spatial types
2021-09-21 11:55:41 +02:00
Karel Maesen
04491e6775
HHH-14800 Introduce SpatialTypeContributor
...
See discussion #4111
2021-09-21 11:55:41 +02:00
Karel Maesen
dcf2a85d20
HHH-14800 Prepare refactoring hibernate-spatial
...
In preparation for the design as discussed in #4111 :
- Fixex compile errors
- Deprecates the SpatialDialects
- Removes the matrix test configuration (obsolete)
- Removes support for Criteria
2021-09-21 11:55:41 +02:00
Andrea Boriero
6efb29e98e
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-09-07 09:36:49 +02:00
Karel Maesen
3edad14c18
HHH-14757 Use geolatte's JTSUtils
2021-09-04 12:59:49 +02:00
Christian Beikov
dd6efa509b
Introduce internal init_sql config and by default enable ansinull for Sybase ASE
2021-09-02 16:54:46 +02:00
Steve Ebersole
476ea9230e
re-enable `hibernate-spatial`
2021-08-26 09:44:16 -05:00
Steve Ebersole
b26b00a358
Bump matrix testing plugin to 3.1.0 (prep for Gradle 7)
2021-07-14 11:44:35 -05:00
Andrea Boriero
6ca0be6d99
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-06-22 09:09:30 +02:00
Karel Maesen
7329f444b5
HHH-14654 Fix for schema validation bug
2021-06-21 11:28:58 +02:00
Andrea Boriero
451568f322
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_7
2021-05-31 14:55:18 +02:00
Yoann Rodière
07eca3883d
HHH-14635 Upgrade to log4j 2
2021-05-26 09:05:56 +02:00
Andrea Boriero
c48606a5aa
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_1
2021-04-20 09:45:47 +02:00
Yoann Rodière
d7e85a3c3c
HHH-14563 Clarify that hibernate-spatial only needs dom4j for tests
...
For org.hibernate.spatial.testing.TestDataReader, to be precise.
2021-04-19 15:39:35 +02:00
Andrea Boriero
badc99705a
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge
2021-04-16 13:19:16 +02:00
Karel Maesen
2aa2bee255
HHH-11490 Fix for UUID mapping conflict
...
* HHH-11490 Fix for UUID mapping conflict
* HHH-11490 Custom ValueBinder implementation
2021-04-15 20:02:48 +02:00
Andrea Boriero
e67d10ee6c
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-04-07 09:19:21 +02:00
Karel Maesen
e76241a309
HHH-14523 Fix for dirty-checking bug
2021-04-06 20:34:36 +02:00
Steve Ebersole
7fcde66d61
HHH-14524 : Rename SqlType(X) as JdbcType(X)
2021-03-29 11:33:56 -05:00
Andrea Boriero
1114da8b8f
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-03-24 09:45:58 +01:00
Karel Maesen
e9dd160d7f
HHH-14090 Add MariaDB103SpatialDialect
2021-03-22 20:23:07 +01:00
Andrea Boriero
96d103215c
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-03-22 12:26:31 +01:00
Karel Maesen
8eb3354ed9
HHH-14037 Add PostgisPG10Dialect
2021-03-17 22:33:01 +01:00
Karel Maesen
aba49ced1f
HHH-14454 Add SpatialDialect for CockroachDB
2021-03-16 23:25:22 +01:00
Christian Beikov
35643c468a
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-02-12 15:49:53 +01:00
Karel Maesen
031f12a1ec
HHH-14446 Add integration test profiles for mysql and postgis
2021-02-12 15:39:19 +01:00
Karel Maesen
27fbacf7d2
HHH-14453 Fix Hana integration test
2021-02-11 21:39:28 +01:00
Christian Beikov
4931c7e69f
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-02-10 12:00:37 +01:00
Karel Maesen
650a703e1c
HHH-14442 Fix checkstyle errors
2021-02-06 15:56:55 +01:00
Karel Maesen
f0a81898dc
HHH-14442 Upgrade geolatte-geom to 1.6.1
2021-02-06 14:32:41 +01:00
Andrea Boriero
4d8c89920a
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-10-27 14:24:37 +00:00
Sanne Grinovero
2ef9451112
HHH-14284 Update Oracle JDBC driver configuration to test with version 19.8.0.0
2020-10-26 21:49:28 +00:00
Andrea Boriero
9cf4edfbee
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-10-26 08:14:01 +00:00
Sanne Grinovero
5bc23aa964
HHH-10715 The GeometryFactory field in Spatial's EnvelopeAdapter needs synchronization
2020-10-25 21:33:32 +00:00
Andrea Boriero
140fbb45d6
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-09-22 11:43:55 +01:00
Yanming Zhou
4499abd9a9
Replace StringBuffer with StringBuilder
...
avoid unnecessary synchronization
2020-09-09 07:55:00 +02:00
Andrea Boriero
257e479e92
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_39
2020-05-14 10:00:59 +01:00
Daniel Shuy
09105b8dee
HHH-13975 Geolatte-geom support for SpatialPredicates
...
* Rename SpatialPredicates to JTSSpatialPredicates
* Add GeolatteSpatialPredicates
* Fix Checkstyle violations
* Add deprecation notice
2020-05-13 20:58:44 +02:00
Andrea Boriero
9ec19e3c65
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_36
2020-04-22 15:15:10 +01:00
Panagiotis Sotiropoulos
6e07062b20
HHH-13960 One more checkstyle fix
2020-04-21 11:10:36 +01:00
Panagiotis Sotiropoulos
55e54795c3
HHH-13960 Add SAXReader sec features to match the defaults
2020-04-21 10:49:59 +01:00
Andrea Boriero
5c86c4a805
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_29
2020-04-09 07:37:11 +01:00
Andrea Boriero
b897a36f2f
Fix issue with generated pom missing project description
2020-04-06 18:21:11 +01:00
Yoann Rodière
aebf9d192f
HHH-13925 Fix invalid javadoc syntax
...
This wasn't detected by checkstyle in Gradle 5, but it is now, and that
fails the build.
2020-04-06 16:04:55 +02:00
Andrea Boriero
abe1e656f7
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-03-03 16:59:30 +00:00
Daniel Shuy
cab651e194
HHH-13799 : Criteria API support for Hibernate Spatial ( #3159 )
...
* HHH-13799 : Criteria API support for Hibernate Spatial
Co-authored-by: Karel Maesen <karel@geovise.com>
2020-02-24 14:42:48 +01:00
Steve Ebersole
c6a11d99fd
6 - SQM based on JPA type system
...
- focus on reducing compilation errors
2019-09-12 10:42:29 +01:00
Steve Ebersole
d0116d7caa
6 - SQM based on JPA type system
...
- work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- work on `org.hibernate.sql.exec`
- work on `org.hibernate.sql.results`
- work on `org.hibernate.sql.exec`
- work on `org.hibernate.sql.results`
- work related to `org.hibernate.metamodel.model.mapping.spi.ValueMapping` - including "sketching in" the hooks with `org.hibernate.persister.walking`
2019-09-12 10:42:29 +01:00