Commit Graph

12393 Commits

Author SHA1 Message Date
Christian Beikov 905227d2ed Get rid of unnecessary sql tokens for joins and improve join counting for tests 2021-09-23 18:04:02 +02:00
Christian Beikov 582e7f84aa Implement support for detecting bidirectional attribute name for many-to-one 2021-09-23 18:04:02 +02:00
Christian Beikov 3cf0d9f037 fixup! Move jpa.enhancement, jpa.graphs, jpa.ops, jpa.orphan, jpa.secondarytable, jpa.transaction, jpa.userguide, jpa.version and query.criteria packages 2021-09-23 18:04:02 +02:00
Christian Beikov bc6022459d Fix JPA Criteria parameter inference for case when expressions 2021-09-23 18:04:02 +02:00
Christian Beikov e59f2b9761 Fix too eager collection fetching, wrong fetch timing determination and `entityAlias = :param` usages 2021-09-23 18:04:02 +02:00
Christian Beikov 6096bbdfa1 Move jpa.enhancement, jpa.graphs, jpa.ops, jpa.orphan, jpa.secondarytable, jpa.transaction, jpa.userguide, jpa.version and query.criteria packages 2021-09-23 18:04:02 +02:00
Jan Schatteman 5df67d8b43 Move and adapt tests from sql/storedproc
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-09-23 17:32:41 +02:00
Steve Ebersole bd2f8271bd fix aggregateJavadoc task config 2021-09-23 08:32:46 -05:00
Andrea Boriero 5b24b171da Resolve collection key selection expressions for delayed collection fetches of dynamic fetch builders with the suffixed column alias of the referenced property name 2021-09-21 12:57:47 +02: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 2bdd10389b HHH-14757 Use geolatte's JTSUtils 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 61d1891f55 Re-enabled additional tests 2021-09-21 09:11:49 +02:00
Andrea Boriero e466c52002 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-09-21 08:46:04 +02:00
Hibernate-CI ec841c0d6c 5.6.0-SNAPSHOT 2021-09-20 22:45:22 +00:00
Hibernate-CI 1321725aba 5.6.0.Beta2 2021-09-20 22:40:29 +00:00
Sanne Grinovero 8e744f0dc2 HHH-14833 Upgrade to Byte Buddy 1.11.16 2021-09-20 23:38:02 +01:00
Yanming Zhou 99f027166d HHH-4369 Introduce @Comment for comment on column 2021-09-20 22:59:32 +01:00
Andrea Boriero 5ffed50f1f HHH-14826 Fix failure of o.h.test.onetoone.cache.OneToOneCacheTest#OneToOneCacheByForeignKey() 2021-09-20 22:39:38 +01:00
Andrea Boriero 340b9012d9 HHH-14826 Extract issue specific tests from OneToOneCacheTest 2021-09-20 22:39:38 +01:00
Amit Mendapara a652822ff5 HHH-14826 Fix regression caused by one-to-one L2 cache support 2021-09-20 22:39:38 +01:00
Amit Mendapara b15433a49c HHH-14826 Add test to check regression caused by OneToOne cache support 2021-09-20 22:39:38 +01:00
Yoann Rodière 5e542b16cb HHH-14828 Remove final modifier from enhanced fields
We need to remove the final modifier if we want to address the possibility
of that field being lazy.
2021-09-20 22:34:24 +01:00
Yoann Rodière d35b592762 HHH-14828 Do not enhance final field write access 2021-09-20 22:34:24 +01:00
Yoann Rodière 0b80bb73c9 HHH-14828 Enable bytecode enhancement logging in core tests 2021-09-20 22:34:24 +01:00
Yoann Rodière 1d3f9183e6 HHH-14828 Fix incorrect logging in FieldAccessEnhancer 2021-09-20 22:34:24 +01:00
Yoann Rodière e0286ba4b4 HHH-14828 Test bytecode enhancement on entities/embeddables with a final field 2021-09-20 22:34:24 +01:00
Andrea Boriero 9dcca5f213 Fix issues after merge main branch 2021-09-17 15:34:46 +02:00
Andrea Boriero 6519b3bfcd Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-09-17 15:33:08 +02:00
Andrea Boriero 52c932cc1c Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-09-17 11:52:20 +02:00
Gail Badner d17861d928 HHH-14794 : More changes to support SchemaMigrator/SchemaValidator using Hibernate Reactive
Changes required by SQL Server
2021-09-17 10:40:30 +01:00