Commit Graph

18877 Commits

Author SHA1 Message Date
Christian Beikov e54a6e15b2 HHH-18463 Add AzureDialect and determine SQL Server version based on compatibility level 2024-08-07 18:49:29 +02:00
Marco Belladelli 5550c20120 HHH-18399 Avoid collecting duplicate attribute for to-one inverse table 2024-08-07 17:44:29 +02:00
Marco Belladelli 1ab7493e73 HHH-18399 Add test for issue 2024-08-07 17:44:29 +02:00
Marco Belladelli ecd22c0811 HHH-18391 Check embeddable properties in fetch paths 2024-08-07 17:43:11 +02:00
hugothomas e63c7f814a HHH-18391 Add test for issue 2024-08-07 17:43:11 +02:00
Marco Belladelli 4ca26f9415 HHH-18309 Fix Oracle limit handler for native queries 2024-08-07 17:42:41 +02:00
Marco Belladelli 9ec2dbb620 HHH-18309 Add test for issue 2024-08-07 17:42:41 +02:00
Marco Belladelli 4da2659292 HHH-18378 Check where clause before reusing existing joins for fetch 2024-08-07 17:42:09 +02:00
Marco Belladelli 0272fc7fbd HHH-18378 Add test for issue 2024-08-07 17:42:09 +02:00
Christian Beikov 171488a762 HHH-18373 Fix NPE when accessing parameter type of JPA Criteria value parameter 2024-08-07 17:13:16 +02:00
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