Commit Graph

11113 Commits

Author SHA1 Message Date
Yoann Rodière 5febc70134 HHH-15082 Correctly propagate the original exception when aborting a JDBC batch fails
Not strictly necessary, but it's related to these changes
and I think it's a good idea.
2022-02-18 20:38:40 +00:00
Yoann Rodière 8f5c0b7610 HHH-15082 Test that batch statements are aborted if a RuntimeException is thrown by Batch#addToBatch
Such an exception can be thrown if an expectation
(org.hibernate.jdbc.Expectation) is not met, for example if an update
statement for a given entity affects 0 rows (e.g. because of a concurrent
update).
2022-02-18 20:38:40 +00:00
Yoann Rodière 582faaa2ac HHH-15082 Abort JDBC batches on runtime exceptions as well as SQLException 2022-02-18 20:38:40 +00:00
Steve Ebersole 82815cc09a back-port JUnit5 based testing support 2022-02-14 08:15:48 -06:00
Steve Ebersole 3c7c6f34ae back-port JUnit5 based testing support 2022-02-10 11:41:20 -06:00
Yoann Rodière 4eb683b357 HHH-15069 Fix backwards-incompatible changes for callers of RelationalModel 2022-02-04 14:00:46 +01:00
Yoann Rodière 36050cb3fd HHH-15069 Fix backwards-incompatible changes for implementors of CompositeNestedGeneratedValueGenerator.GenerationPlan 2022-02-04 14:00:46 +01:00
Yoann Rodière 1afcae2f2a HHH-15069 Fix backwards-incompatible changes for implementors of BulkInsertionCapableIdentifierGenerator 2022-02-04 14:00:46 +01:00
Yoann Rodière 97f87325f8 HHH-15069 Fix backwards-incompatible changes for implementors of UniqueDelegate 2022-02-04 14:00:46 +01:00
Yoann Rodière 9f4ebcab1f HHH-15069 Fix backwards-incompatible changes for implementors of InsertGeneratedIdentifierDelegate 2022-02-04 14:00:46 +01:00
Yoann Rodière 1f4162a77b HHH-15069 Fix backwards-incompatible changes for callers of PersistentIdentifierGenerator getters 2022-02-04 14:00:46 +01:00
Karel Maesen 29b896bace HHH-14932 Use the correct WKB Dialect 2022-02-03 20:30:26 +01:00
Hibernate-CI 6fae23a4dc 5.6.6-SNAPSHOT 2022-01-25 15:45:31 +00:00
Hibernate-CI 52e7d12b66 5.6.5.Final 2022-01-25 15:40:53 +00:00
Christian Beikov cf1853a4a0 HHH-15041 H2Dialect does not work properly with h2 2.0.202 due to new DDL type requirements 2022-01-25 15:35:48 +00:00
Christian Beikov 0fc59729da Get rid of the MVCC connection option for H2 2022-01-25 15:35:48 +00:00
Christian Beikov 2f17b1a951 HHH-14985 H2Dialect does not work properly with h2 2.0.202 on inserts 2022-01-25 15:35:48 +00:00
Christian Beikov 48c54bc827 Adapt tests and skips for H2 2.0.202+ 2022-01-25 15:35:48 +00:00
Christian Beikov f4cfda2b73 HHH-15009 Allow augmenting supported physical table types through dialect for H2 2.0.202+ support 2022-01-25 15:35:48 +00:00
Christian Beikov 7a46be6572 HHH-15014 Fix subquery tuple rendering for H2 2.0.202+ 2022-01-25 15:35:48 +00:00
Christian Beikov 60148a78cf Get rid of column names that are problematic on H2 2.0.202+ 2022-01-25 15:35:48 +00:00
Andrea Boriero 729268433e HHH-15044 Revert HHH-14826 fix because the provided test was wrong 2022-01-20 13:22:02 +01:00
Hibernate-CI 5c331f9c31 5.6.5-SNAPSHOT 2022-01-19 08:14:17 +00:00
Hibernate-CI 8f0a9c0892 5.6.4.Final 2022-01-19 08:09:39 +00:00
Yoann Rodière bc3efea6fb HHH-15036 Disable DefaultCatalogAndSchemaTest when testing against MariaDB < 10.3 2022-01-18 16:38:46 +01:00
Yoann Rodière 34278588ec HHH-15022 Revert to the legacy behavior of not qualifying temporary ID tables with the default catalog/schema 2022-01-18 15:14:41 +01:00
Yoann Rodière 9dea484927 HHH-15022 Test deleting all entities of a given type in a table-per-class hierarchy with a default schema 2022-01-18 15:14:41 +01:00
Christian Beikov ca2b8cb2f3 HHH-15032 Fix backwards incompatible SPI change that happened in 5.6.2 due to introducing SqlStringGenerationContext 2022-01-17 18:05:21 +01:00
Sanne Grinovero 30b0ad267e HHH-15033 Restrict JNDI lookups to "java" scheme 2022-01-16 22:04:51 +00:00
Sanne Grinovero 157716095a HHH-15002 Add integration test for the H2 Dialect change 2022-01-16 20:33:21 +00:00
Sanne Grinovero fdd4eb3854 HHH-15031 Upgrade to ByteBuddy 1.12.7 2022-01-15 21:53:41 +00:00
Sanne Grinovero be0f01a6ba HHH-15028 Upgrade to JBoss Logging 3.4.3.Final 2022-01-14 18:10:04 +00:00
Sanne Grinovero 3b94ea5f69 HHH-15026 Upgrade to Log4J 2.17.1 2022-01-13 15:30:57 +00:00
Sanne Grinovero a4dde380b7 HHH-15024 Upgrade to Jandex 2.4.2.Final 2022-01-12 14:28:00 +00:00
Sanne Grinovero 7c67cf72d1 HHH-15018 OracleTypesHelper shouldn't log stacktraces when the Oracle JDBC driver isn't loadable 2022-01-10 17:08:29 +00:00
Sanne Grinovero 0496515252 HHH-14998 Upgrade to GraalVM SDK 21.3.0 2022-01-10 17:08:29 +00:00
Filipe Roque 11552b3e93 HHH-15002 H2 supports 'true' and 'false' boolean literals
Cherry picked from 1706141ffc
2022-01-05 12:38:38 +01:00
Sanne Grinovero 6f77882fba HHH-14987 Upgrade to Log4j 2.17.0 2021-12-20 09:42:41 +00:00
Sanne Grinovero 29a8e533b2 HHH-14988 Upgrade to ByteBuddy 1.12.5 2021-12-20 09:42:41 +00:00
Hibernate-CI 373ac4e117 5.6.4-SNAPSHOT 2021-12-15 22:27:45 +00:00
Hibernate-CI 2607c91502 5.6.3.Final 2021-12-15 22:20:26 +00:00
Sanne Grinovero 8d1027f967 HHH-14935 Revert deprecation of org.hibernate.annotations.Type, TypeDef and TypeDefs 2021-12-15 20:33:38 +00:00
Sanne Grinovero ab808954a2 HHH-14979 Upgrade to Log4J 2 2.16.0 2021-12-15 11:46:28 +00:00
Sebastian Nohn ad8723c31b HHH-14972 bump log4j to 2.15.0 fixing an RCE (CVE-2021-44228) 2021-12-11 23:12:41 +00:00
Ivaylo Mitrev fc957ec91e HHH-14948 - Reduce the size of the imports cache in the metamodel
We have agreed to mitigate a memory issue by introducing a hard-coded
(for the time being) cap on the imports cache in MetamodelImpl. This
would preserve the previously available performance improvement for
the majority of applications using Hibernate (which are expected to have
less than 1000 imports) while mitigating an unbounded memory consumption
issue for applications that exceed this limit when dynamically
generating queries with random entity aliases.

The commit also adds a not-so-beautiful test, which, however, is
beneficial considering the consequences of introduing a regression.
2021-12-09 15:13:21 +00:00
Hibernate-CI f6f765426b 5.6.3-SNAPSHOT 2021-12-08 13:08:18 +00:00
Hibernate-CI dc00552cf5 5.6.2.Final 2021-12-08 13:03:25 +00:00
Yoann Rodière 67e09b1290 HHH-14922 Give precedence to default catalog/schema over implicit catalog/schema 2021-12-07 08:25:03 +01:00
Yoann Rodière 795d5cd4e9 HHH-14922 Delay applying the implicit catalog/schema until schema management tool or session factory creation
This is necessary if we want the default catalog/schema to take
precedence, since the default catalog/schema is applied late,
on schema management tool or session factory creation.
2021-12-07 08:25:03 +01:00
Yoann Rodière 9b47fcdfa8 HHH-14922 Test behavior when setting both implicit catalog/schema and default catalog/schema 2021-12-07 08:25:03 +01:00