Commit Graph

18817 Commits

Author SHA1 Message Date
Jan Schatteman 46b2739061 HHH-18373 - Add test for binding null as value in Criteria API
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-08-07 17:13:16 +02:00
Andrea Boriero abc4d5ba9e Fix DB2 10.5 test failures 2024-08-07 15:59:07 +02:00
Andrea Boriero a54f067f5e Fix Sybase using jconn driver failures 2024-08-07 15:59:07 +02:00
Jan Schatteman 693516ab92 HHH-17497 - Add test case for issue (testScrollWithoutFetch)
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-08-07 15:53:55 +02:00
marko-bekhta a971f897e9 Provide a non-internal empty QueryParameterBindings 2024-08-07 15:52:04 +02:00
Nguyen Nhu Phuc d888f1984c HHH-17847: fix the issue in result set mapping when stored procedure has INOUT param 2024-08-07 15:51:12 +02:00
Nguyen Nhu Phuc bd4c9b4c9b HHH-17847: test to verify the result set mapping when a procedure call has INOUT param 2024-08-07 15:51:12 +02:00
Sebastien Santschi 71a616f2be HHH-18451 Fix CheckConstraints for Booleans with null value converters 2024-08-07 15:10:47 +02:00
Christian Beikov 1f8d6f0339 HHH-18403 Disable returning clause support for updates on DB2 for i 2024-08-07 13:57:34 +02:00
Christian Beikov f12ed1ce2c HHH-18359 Add a wrap parameter rendering mode for Informix 2024-08-07 13:22:12 +02:00
Christian Beikov 823012b29c HHH-18359 Add a wrap parameter rendering mode for Informix 2024-08-07 13:17:01 +02:00
Steve Ebersole c6e8df8c5d 6.6.0.CR2 bad release fix-ups 2024-08-06 11:10:27 -05:00
Steve Ebersole 782c0a52ab 6.6.0.CR2 bad release fix-ups 2024-08-06 10:57:28 -05:00
Steve Ebersole c1a01b6a61 Change release script to assemble docs as part of prep 2024-08-06 10:28:08 -05:00
Christian Beikov a2c948909a HHH-18271 Fix faulty maybe lazy set determination leading to issue with previous row optimization 2024-08-06 09:44:52 -05:00
Steve Ebersole badf4f278f HHH-18454 - Skip connection provider retrieval and DB info logging when booting offline 2024-08-06 08:12:50 -05:00
Andrea Boriero 9e11c2e2c3 Fix HANA failures 2024-08-06 06:56:29 -05:00
Andrea Boriero 7760d3f79e HHH-18280 Fix PostgreSQL vs <14 failures 2024-08-06 06:56:29 -05:00
Steve Ebersole 8190a1a6da HHH-18454 - Skip connection provider retrieval and DB info logging when booting offline 2024-08-05 17:44:01 -05:00
Jan Schatteman dc8a56be8f HHH-18454 - Skip connection provider retrieval and DB info logging when booting offline
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-08-05 15:14:38 -05:00
Steve Ebersole e80d1ac54e Update hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AggregateEmbeddableResultGraphNode.java
Javadoc and @Incubating
2024-08-05 15:14:00 -05:00
Christian Beikov 72e2da2da8 HHH-18271 Introduce lazy bitset for entities and other initializer improvements
* Cache more state in initializers
* Reduce mega-morphic call sites
* Do more efficient state resolving for query cache entries
2024-08-05 15:14:00 -05:00
Christian Beikov 55702e458b HHH-18271 Avoid mega-morphic callsites for equals/hashCode with known types 2024-08-05 15:14:00 -05:00
Christian Beikov 850a2a0753 HHH-18271 Avoid query validations of cached queries by doing validation eagerly. Cache allowed result types per query interpretation 2024-08-05 15:14:00 -05:00
Christian Beikov cf44c30bf2 HHH-18271 Improve fast path for row reading 2024-08-05 15:14:00 -05:00
Christian Beikov e9513b1db5 HHH-18271 Optimizations related to caching and statement execution
* Acquire ResultSet eagerly in JdbcValuesResultSetImpl to allow better inlining of hot next() method
* Precompute cache related metadata in JdbcValuesMapping
* Don't copy data returned from cache, since it's never mutated
* Improve QueryParameterBindings building and binding
* Get rid of LinkedIdentityHashMap and reduce allocations
* Get rid of some megamorphic call sites
2024-08-05 15:14:00 -05:00
Dmitrii Pronichev 2214c50383 fixed incorrect link to new jakarta-jdbc-password property from the deprecated PASS property in JdbcSettings 2024-08-01 10:43:43 -05:00
Andrea Boriero 6a1581cf4a HHH-15725 Criteria API Expression.as adds cast even when the cast type is equal to the expression type 2024-07-31 15:39:58 -05:00
Andrea Boriero aece493697 HHH-15725 Add test for issue 2024-07-31 15:39:58 -05:00
Andrea Boriero 03e48d8355 HHH-18280 add hibernate.query.pass_procedure_paramater_names setting 2024-07-31 15:22:04 -05:00
Andrea Boriero 8740a832d2 HHH-18302 DB2CallableStatementSupport uses an invalid syntax for named parameters 2024-07-31 15:22:04 -05:00
Andrea Boriero a3c779a019 HHH-18302 Add test for issue 2024-07-31 15:22:04 -05:00
Andrea Boriero 8766a8e012 HHH-18280 Support named procedure parameters down to the JDBC level 2024-07-31 15:22:04 -05:00
Andrea Boriero 79480ab490 HHH-18280 Add test for issue 2024-07-31 15:22:04 -05:00
Andrea Boriero 7c84a5b597 HHH-18177 Add test for issue 2024-07-30 13:51:56 +02:00
Marco Belladelli 677c8b6529 HHH-18062 Fix id-class record instantiation and mapper component 2024-07-29 10:15:02 -05:00
Marco Belladelli 996783c380 HHH-18062 Add test for issue 2024-07-29 10:15:02 -05:00
Marco Belladelli 09baefba40 HHH-18406 Drop and recreate UserDefinedTypes for schema update as well 2024-07-29 16:11:40 +02:00
Marco Belladelli 6d3ee70f72 HHH-18406 Add test for issue 2024-07-29 16:11:40 +02:00
Marco Belladelli 8d39709cec HHH-18330 Check model part when reusing table group for to-one fetch 2024-07-29 16:11:12 +02:00
Marco Belladelli c27ec0fd29 HHH-18330 Add test for issue 2024-07-29 16:11:12 +02:00
Yoann Rodière e9701d979c Use Java 22 bytecode in tests when testing against OpenJDK 22+
Because we upgraded to Gradle 8.8 some time ago, which supports Java 22.
See https://docs.gradle.org/8.8/release-notes.html
2024-07-29 12:09:50 +02:00
dependabot[bot] 821d521956 Bump com.gradle.develocity from 3.17.5 to 3.17.6
Bumps com.gradle.develocity from 3.17.5 to 3.17.6.

---
updated-dependencies:
- dependency-name: com.gradle.develocity
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 12:01:24 +02:00
Christian Beikov 1f08501d80 HHH-18229 Handle null owner key for collections 2024-07-26 16:42:59 +02:00
Steve Ebersole 2f3a01fd19 HHH-18411 - Add ability to specify a custom UuidGenerator.ValueGenerator 2024-07-24 16:18:40 -05:00
Steve Ebersole fdef3b52eb HHH-18411 - Add ability to specify a custom UuidGenerator.ValueGenerator 2024-07-24 16:18:40 -05:00
Jan Schatteman 55108d0740 HHH-18224 - db info logging cleanup
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-07-24 11:13:35 -05:00
Jan Schatteman f556ba9e90 HHH-18224 - standardize logging of database connection
HHH-18224 - add database logging info support also to MultiTenantConnectionProvider. Log output through subsystem logging.
HHH-18224 - remove duplicated database info logging
HHH-18224 - complete refactor of DatabaseConnectionInfo and add more info
HHH-18224 - add standard database info logging to the proxool connection provider
HHH-18224 - add min/max pool sizes to standard db logging

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-07-24 11:13:35 -05:00
Marco Belladelli e33bcfcf81 HHH-18382 Fix embeddable disc-formula insertable / updatable flags 2024-07-24 17:00:14 +02:00
Marco Belladelli ab158ec826 HHH-18382 Add test for issue 2024-07-24 17:00:14 +02:00