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
Andrea Boriero
8dbac8d44c
Re-enabled additional tests
2021-09-07 15:54:47 +02:00
Andrea Boriero
05ea5d2c79
Re-enabled additional tests
2021-09-07 15:54:47 +02:00
Andrea Boriero
ccb590caf4
Re-enabled additional tests
2021-09-07 15:54:47 +02:00
Andrea Boriero
6f32391ed7
Re-enabled additional tests
2021-09-07 15:54:47 +02:00
Andrea Boriero
8d6ada3357
Re-enabled additional tests
2021-09-07 15:54:47 +02:00
Andrea Boriero
94c4bcf66f
Re-enabled additional tests
2021-09-07 15:54:47 +02:00
Andrea Boriero
4563c73abb
Fix final attributes getter and setter methods log Could not create proxy factory instead of failing SF creation
2021-09-07 15:54:47 +02:00
Andrea Boriero
7d4df4a01b
Re-enabled additional tests
2021-09-07 15:54:47 +02:00
rmartinc
a666ac0dac
HHH-14796 Cannot replace an existing JPQL NamedQuery with a native NamedQuery
2021-09-07 12:28:28 +01:00
Gavin King
971a47d15d
expose two operations on EntityType for use by Hibernate Reactive
...
see https://github.com/hibernate/hibernate-reactive/pull/954
2021-09-07 12:17:57 +01:00
Yoann Rodière
3810727f5d
HHH-14811 Throw LazyInitializationException on lazy-loading an association on a deleted entity with bytecode enhancement
2021-09-07 11:41:04 +01:00
Yoann Rodière
30a5acf741
HHH-14811 Test loading a lazy association on a deleted entity with bytecode enhancement
2021-09-07 11:41:04 +01:00
Sanne Grinovero
2cbcf152df
HHH-14812 Upgrade integration tests to use Oracle JDBC driver v 21.3.0.0
2021-09-07 11:27:28 +01:00
Andrea Boriero
6efb29e98e
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-09-07 09:36:49 +02:00
Gavin King
e929ac94ce
removed unused code path from generateInsertString()
...
as suggested in the TODO
2021-09-07 09:28:09 +02:00
Gavin King
d1806c5e92
insert with @DynamicInsert should use generateIdentityInsertString()
...
see the comment in generateInsertString()
2021-09-07 09:28:09 +02:00
Jan Schatteman
3ae6057311
Fixed and reorganized tests in hibernate-jcache
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-09-06 08:43:46 +02:00
Karel Maesen
3edad14c18
HHH-14757 Use geolatte's JTSUtils
2021-09-04 12:59:49 +02:00
Karel Maesen
fe1f89d754
HHH-14633 Upgrade geolatte-geom to 1.8.2
2021-09-04 12:59:49 +02:00
Steve Ebersole
60e97bcfca
Allow for PU jar-file entries as relative file paths (intended for testing)
2021-09-02 14:02:46 -05: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
Christian Beikov
9e4e9ce0d5
Determine ansinull setting for Sybase ASE and implement proper comparison handling when it is off
2021-09-02 16:54:46 +02:00
Christian Beikov
c71171a762
fixup! Ignore some tests that run into HSQLDB bugs
2021-09-02 16:54:46 +02:00
Christian Beikov
ec2b1c6756
Fix test for oracle
2021-09-02 16:54:46 +02:00
Christian Beikov
ea099e7e85
Fix some query caching issue related to pagination parameters and a small case sensitivity issue
2021-09-02 16:54:46 +02:00
Christian Beikov
59fbdb9039
Treat BIT if reported by ResultSetMetaData like BOOLEAN
2021-09-02 16:54:46 +02:00
Christian Beikov
c9a526999a
Ignore some tests that run into HSQLDB bugs
2021-09-02 16:54:46 +02:00
Christian Beikov
99f4363a98
Switch to junit 5 platform for hibernate-enhance-maven-plugin module
2021-09-02 16:54:46 +02:00