Commit Graph

17807 Commits

Author SHA1 Message Date
Davide D'Alto 755ed17bd4 HHH-17428 ParameterMarkerStrategy markers are 1 based
The position argument in `ParameterMarkerStrategy#createMarker` is
1-based, but `StandardTemporaryTableExporter#getSqlTruncateCommand` calls
it passing a 0.

Hibernate Reactive is affected by this when running queries on
CockroachDB. Hibernate ORM generates queries using `?` as marker
and it's not affected by it unless somebody implements the service.
2023-11-15 16:03:52 +01:00
Andrea Boriero ab861e99fb HHH-17380 Persisting an entity with a non generated id and @MapsId throws PropertyValueException 2023-11-15 11:14:27 +01:00
Andrea Boriero 00340107d4 HHH-17380 Add test for issue 2023-11-15 11:14:27 +01:00
Marco Belladelli 79d6bc9b01 HHH-17292 Correct find subtypes attribute for nested types 2023-11-15 11:06:33 +01:00
Marco Belladelli b5d26d19c1 HHH-17292 Add test for issue 2023-11-15 11:06:33 +01:00
Andrea Boriero a5a96007a8 HHH-17370 ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Cannot invoke org.hibernate.resource.jdbc.spi.JdbcObserver.jdbcConnectionAcquisitionEnd(java.sql.Connection) because this.observer is null 2023-11-15 10:55:06 +01:00
Andrea Boriero 5d5e413908 HHH-17370 Add test for issue 2023-11-15 10:55:06 +01:00
Andrea Boriero 1efc90754e HHH-17140 Add test for issue 2023-11-15 10:53:04 +01:00
Marco Belladelli 4e524f67c5 HHH-17415 Improved check for entity valued path expansion in subqueries 2023-11-14 17:36:28 +01:00
Marco Belladelli 397c730c69 HHH-17415 Add test for issue 2023-11-14 17:36:28 +01:00
Marco Belladelli 4e3c66ecdb HHH-17308 Fix result set mapping paths for id-class 2023-11-14 17:35:50 +01:00
gtoison 642380436e HHH-17308 Add test for issue 2023-11-14 17:35:50 +01:00
marko-bekhta ebcdc72daa Use jakarta property in message when Dialect cannot be determined 2023-11-14 17:21:21 +01:00
宁培培 8daf0961d1 fix wrong groupId in Compatibility.adoc 2023-11-14 17:15:32 +01:00
yjpark 46b064633b HHH-17023 Implements AltibaseDialect 2023-11-14 14:51:35 +01:00
Gavin King e6d5c72ec6
very minor doc fix (#7539) 2023-11-13 21:20:53 +01:00
Christian Beikov 78c9ccf64f HHH-17411 Fix fetch join on treated join leads to not cause owner not selected error 2023-11-13 20:24:23 +01:00
Jan Schatteman a3f7637585 HHH-17372 - Avoid endless recursion in default methods in Selectionquery referring to each other.
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-11-10 19:00:45 +01:00
Christian Beikov 00c7493aaf HHH-17102 Fix @SqlResultSetMapping issue for joined inheritance entity result 2023-11-10 18:50:09 +01:00
Christian Beikov 46545bbdb5 HHH-17417 Workaround Oracle driver issue to reduce connection creation 2023-11-10 18:49:27 +01:00
Christian Beikov ea2c360eba HHH-17410 Add documentation for count query creation 2023-11-10 13:02:03 +01:00
Christian Beikov e9d08ca18e HHH-17410 Support creating count query from existing query 2023-11-10 12:31:43 +01:00
Christian Beikov 7a5219b52a HHH-17412 Special case SqmExpression passed as criteria value to help with surprising javac compiler choices 2023-11-10 12:31:43 +01:00
Marco Belladelli 3cfd85d8e2 HHH-17384 Fix `@NotFound` to-one association nullness handling 2023-11-10 09:31:46 +01:00
Jan Schatteman 4d3df8d81f HHH-17089 - Add a link to the supported dialects report in the migration guide
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-11-09 19:25:24 +01:00
Christian Beikov d79b9ace89 Fix Cockroach test failures 2023-11-09 18:53:10 +01:00
The-Huginn b67a0bad32 [HHH-17294] DeepCopy non-Embedded JSON or XML JdbcTypCode attribute using FormatMapper 2023-11-09 18:53:10 +01:00
Leandro Taveras 36c73ab342 [HHH-17294] Test verifying issue where Entity is not marked as dirty if one of its JSON children is modified 2023-11-09 18:53:10 +01:00
Marco Belladelli ee5a0e18c6 HHH-17289 Add test for issue 2023-11-09 16:46:48 +01:00
Christian Beikov adb86e7b7b HHH-17389 Support pg_hint_plan hints for PostgreSQL 2023-11-09 16:09:41 +01:00
Christian Beikov 016dc56208 HHH-17409 Support offset without limit in some LimitHandlers 2023-11-09 16:09:41 +01:00
Marco Belladelli 4087774691 HHH-17299 Avoid unneeded treats to the same subtype 2023-11-08 22:26:42 +01:00
Marco Belladelli 01c8243876 HHH-17299 Add test for issue 2023-11-08 22:26:42 +01:00
Christian Beikov 5e5ba17d1d HHH-17357 Rename hibernate-types module to hibernate-vector 2023-11-08 18:55:41 +01:00
Christian Beikov 6bbf58973e HHH-17355 Support binding single element value for basic plural parameter types 2023-11-07 18:55:31 +01:00
Christian Beikov eebb305837 HHH-17357 Add hibernate-types module with pgvector support 2023-11-07 18:55:31 +01:00
Jan Schatteman 029100651c HHH-17367 - Add links to the tutorial's example source code
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-11-07 16:26:57 +01:00
Christian Beikov 91d2c88d2e Get rid of clean task in CI build 2023-11-07 10:54:42 +01:00
Marco Belladelli 19d9d95a9e HHH-15074 Handle composite nested value generation for java records 2023-11-07 09:36:34 +01:00
Marco Belladelli c558fb7a5c HHH-15074 Support for partially-generated `@EmbeddedId`s 2023-11-07 09:36:34 +01:00
Christian Beikov c700dcd8b6 HHH-17355 Smoothen some rough edges with parameter typing and PG12 support 2023-11-06 18:01:04 +01:00
Christian Beikov d7bdb5c009 HHH-17355 Test array functions with NodeBuilder 2023-11-06 18:01:04 +01:00
Christian Beikov e4d8181fb8 HHH-17355 Add array_to_string to NodeBuilder 2023-11-06 18:01:04 +01:00
Christian Beikov 79e3af5464 HHH-17355 Add array_to_string function 2023-11-06 18:01:04 +01:00
Christian Beikov d558df9b64 HHH-17355 Add array_positions and array_positions_list to NodeBuilder 2023-11-06 18:01:04 +01:00
Christian Beikov c3e1815486 HHH-17355 Add array_positions and array_positions_list functions 2023-11-06 18:01:04 +01:00
Christian Beikov fe9289ba57 HHH-17355 Add array_fill function to NodeBuilder 2023-11-06 18:01:04 +01:00
Christian Beikov 1a5184e89b HHH-17355 Add array_fill function 2023-11-06 18:01:04 +01:00
Christian Beikov 6d392f5e20 HHH-17355 Add array_trim functions to NodeBuilder 2023-11-06 18:01:04 +01:00
Christian Beikov faf6345463 HHH-17355 Add array_trim function 2023-11-06 18:01:04 +01:00