Commit Graph

12413 Commits

Author SHA1 Message Date
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
ENTERPRISE-X64\bertiepinnock 24b9605c52 HHH-13661 | Added case to PostgreSQL Dialect to map client operation cancellation to QueryTimeoutException 2021-09-17 10:05:37 +02:00
Nathan Xu ad6af3af7d HHH-14413 fix issue that EntityUpdateAction increments version despite veto on update 2021-09-17 09:24:57 +02:00
Andrea Boriero 83e5ba0450 Re-enabled additional test 2021-09-16 16:57:58 +02:00
Andrea Boriero 7b6ee23f19 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-09-16 16:49:52 +02:00
Yoann Rodière 86ad83f0b5 HHH-14827 Fix @AssociationOverride/@PrimaryKeyJoinColumn at type level being ignored when also using orm.xml 2021-09-16 16:23:00 +02:00
Yoann Rodière 70d7ac6ecd HHH-14827 Fix @AttributeOverride at type level being ignored when also using orm.xml 2021-09-16 16:23:00 +02:00
Yoann Rodière 170821c135 HHH-14827 Test using @AttributeOverride and also an orm.xml file 2021-09-16 16:23:00 +02:00
Andrea Boriero 793c8096ac Fix SQLServer test failure 2021-09-15 18:52:40 +02:00
Andrea Boriero 3126e79784 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-09-15 17:02:55 +02:00
Rafael Lillo f6a03cf771 HHH-5249 Add more details MappingException 2021-09-15 12:06:59 +01:00
Knut Wannheden caa84d3ad9 HHH-13999 Support SQL Server 2016
SQL Server 2016 (13.x) and later support the `if exists` clause for most `drop` DDL statements. The new `SQLServer2016Dialect` dialect accounts for this and offers the advantage that no error messages get logged when using `hibernate.hbm2ddl.auto=create-drop`.
2021-09-15 10:22:18 +01:00
Jan Schatteman 0cbf0e5bf8 Minor improvement to the previous backport commit
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-09-14 00:25:50 +02:00
Krzysztof Debski 3eaafaf2f3 HHH-11755 Drop "Serializable" from the Event Listener interfaces 2021-09-13 16:43:10 +01:00
Christian Beikov 0af8755949 Backport of changes from 6314395edf on
wip/6.0 (Fix connection leaks by properly closing service registries)
2021-09-13 17:32:18 +02:00
Steve Ebersole 6af44dd6cf fix JCache tests 2021-09-10 17:47:31 -05:00
boris-unckel f24b91da2a HHH-14763 Avoid suppress exceptions in try/finally 2021-09-09 17:41:43 +02:00
Christian Beikov 6314395edf Fix connection leaks by properly closing service registries 2021-09-09 16:39:31 +02:00
Christian Beikov 77c1370e45 HHH-14642, HHH-13717 Various JPA Criteria related fixes
* Get rid of unnecessary whitespace and optional keywords in generated SQL
* Handle some type inference related issues with some databases requiring to render casted parameters in some situations
* Ensure SQM model is fully serializable
* Ensure JPA Criteria throws expected exceptions
* Make sure JPA Criteria implementations work properly
* Move jpa.test.callback and jpa.test.criteria packages
* Improve the reuse of SqmPath instances
* Get rid of many raw-types related warnings
* Make Predicate extend Expression and handle SQL rendering/emulation
* Support fetching SqmTuple as array
* Implement treat operator support
2021-09-09 16:39:31 +02:00
Yoann Rodière a216a23ae4 HHH-14814 Test delete HQL queries with function calls 2021-09-09 09:32:44 +02:00
Steve Ebersole 6866a1e77b disable local build-cache for CI jobs 2021-09-08 13:30:48 -05:00
Andrea Boriero 304af1c3a6 Fix Oracle test failure 2021-09-08 17:05:34 +02:00
Andrea Boriero e2a1ae27d7 Fix Oracle identifier is too long test failure 2021-09-08 11:39:07 +02:00
Andrea Boriero 7275f160a7 Re-enabled additional tests 2021-09-08 11:27:24 +02:00
Andrea Boriero 0c96fd75af Re-enabled additional tests 2021-09-08 11:27:24 +02:00
Andrea Boriero b2b8197388 Migrate test to JUnit 5 2021-09-07 19:03:01 +02:00
Gavin King 8ce2098deb test for filtering @OneToMany associations by discriminator
see https://github.com/eclipse-ee4j/jpa-api/issues/39#issuecomment-830112571
2021-09-07 19:03:01 +02:00
Andrea Boriero 3bc890dc48 Merge branch 'main' into wip/6.0_merge_main 2021-09-07 17:34:40 +02:00
Andrea Boriero 236e901cd1 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-09-07 17:22:42 +02:00
Arkadiusz Biczewski e0d262cc3f HHH-14813 Update DB2 dialect with bind parameters limit
Provide allowed parameters limit for DB2 queries based on official documentation: https://www.ibm.com/docs/en/db2/11.5?topic=sql-xml-limits
2021-09-07 15:23:58 +01:00
Andrea Boriero e07e6d4105 Re-enabled additional tests 2021-09-07 15:54:47 +02:00