Commit Graph

15911 Commits

Author SHA1 Message Date
Marco Belladelli e564ca4dde
HHH-16362 Add test for issue 2023-04-21 16:25:38 +02:00
Marco Belladelli bb26212f24
HHH-16347 Disable alias and positional order-by items in OVER and WITHIN GROUP clauses 2023-04-21 16:08:07 +02:00
Marco Belladelli 6990346506
HHH-16347 Add test for issue 2023-04-21 16:08:03 +02:00
Andrea Boriero 46041a138d HHH-16471 Entities serialized in QueryKey causes java.lang.ClassCastException 2023-04-21 13:56:12 +02:00
Andrea Boriero 9c4745924e HHH-16471 Add test for issue 2023-04-21 13:56:03 +02:00
Andrea Boriero a345ed54b2 HHH-16477 LAZY @ManyToOne may again break EAGER @ManyToOne with Bytecode Enhancement 2023-04-20 11:39:30 +02:00
Tomas Cerskus f127aa1ca4 HHH-16477 LAZY @ManyToOne may again break EAGER @ManyToOne with Bytecode Enhancement 2023-04-20 11:39:20 +02:00
Andrea Boriero 80b32fcd35 HHH-16457 Values returned in ValueAccess.getValues() and getValue(…) not alphabetical for Java records 2023-04-20 11:34:50 +02:00
Andrea Boriero 6a9ff46f63 HHH-16457 Add test for issue 2023-04-20 11:34:42 +02:00
Andrea Boriero 9e97115470 HHH-16493 OneToManyCollectionPart doesn't disassemble properly embeddable IdClass 2023-04-20 11:30:07 +02:00
Andrea Boriero 610c31c0ee HHH-16493 Add test for issue 2023-04-20 11:29:58 +02:00
Steve Ebersole ab195021c8 HHH-16481 - Add a new WrapperArrayHandling for enabled JPA compliance
(cherry picked from commit 959858f8bc)
2023-04-19 23:44:07 -04:00
Steve Ebersole 9db89979bf HHH-16482 - Convert Functions in StandardConverters to static methods that can be used as method references
(cherry picked from commit d7c5db47f6)
2023-04-19 23:42:01 -04:00
Jan Schatteman f5be9556d7 HHH-16438 - Add test for issue where left outer joins do not work with single table polymorphic entities because of the discriminator in the where clause
Signed-off-by: Jan Schatteman <jschatte@redhat.com>

HHH-16438 - fix for issue
- move the discriminator condition from the where clause to the join clause
- add another test to JoinWithSingleTableInheritanceTest

HHH-16438 - Apply some suggestions from Christian's code review
Co-authored-by: Christian Beikov <christian.beikov@gmail.com>
2023-04-19 23:50:46 +02:00
Christian Beikov 995aa53fc0 HHH-16468 Simplify embeddable key handling 2023-04-17 15:36:26 +02:00
Andrea Boriero 85434f0f09 HHH-16468 Don't create fetch for _identifierMapper anymore 2023-04-17 15:36:26 +02:00
Christian Beikov 3ee817008a HHH-16468 Don't create fetch for _identifierMapper anymore 2023-04-17 15:36:26 +02:00
Marco Belladelli 5a3d60f508 Fix fragile tests 2023-04-14 13:56:38 +02:00
Hibernate-CI 28929487cd Post-steps for release : `6.2.1.Final` 2023-04-14 09:53:42 +00:00
Hibernate-CI 0b912fe422 Pre-steps for release : `6.2.1.Final` 2023-04-14 09:48:12 +00:00
Marco Belladelli a02723c3ee
Fix GenerateDescriptorTask 2023-04-14 11:46:26 +02:00
Marco Belladelli fb788baa79
Make ReleaseFamilyIdentifier serializable 2023-04-14 11:22:59 +02:00
Marco Belladelli 1382929311 HHH-16349 Correct entity valued path selectable expansion 2023-04-14 08:58:20 +02:00
Marco Belladelli 7d94921dc9 HHH-16349 Add test for issue 2023-04-14 08:58:14 +02:00
Marco Belladelli a22a2c8327 HHH-16459 Fix inline dirty checking with generics and inheritance 2023-04-14 08:49:18 +02:00
Yoann Rodière 47bdd016a1 HHH-16459 Test bytecode-enhanced inline dirty tracking for generic associations from mapped superclasses 2023-04-14 08:49:03 +02:00
Yoann Rodière 7d3f6188f8 HHH-16459 Expand existing test of generic associations to ToOne associations 2023-04-14 08:48:56 +02:00
Jan Schatteman e47f262f38 Add @EmbeddableInstantiator, @EmbeddableInstantiatorRegistration and @EmbeddableInstantiatorRegistrations to the annotations chapter of the user guide
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-04-13 23:58:32 +02:00
Andrea Boriero 0d6dd97b9b HHH-16394 Statement Batch + Version + Dirty Collection leads to OptimisticLockException: Batch update returned unexpected row count from update 2023-04-13 10:10:12 +02:00
Andrea Boriero 95266d20c1 HHH-16394 Add test for issue 2023-04-13 10:10:02 +02:00
Andrea Boriero 947ed23188 HHH-16387 Entity in key not returned when querying 2023-04-13 10:01:19 +02:00
Andrea Boriero bb52619875 HHH-16387 Add test for issue 2023-04-13 10:01:08 +02:00
Gavin 68ffc34e7b
expose some methods of EntityDeleteAction to HR 2023-04-11 18:07:10 +01:00
Davide D'Alto e5f08de40e HHH-16443 Convert SqlStatementLogger into a Service
This way is possible to get the logger without having
to initialize the JdbcServices service.

Without this change, in Hibernate Reactive, we have a cyclic
dependency during the initialization of the services between
JdbcEnvironment and JdbcServices.
2023-04-08 10:47:57 +01:00
Andrea Boriero 0a744006dd HHH-16429 WF SessionFactoryTestCase test fails 2023-04-07 10:54:19 +02:00
Jan Schatteman 1ce0bca179 Remove some unnecessary code duplications in AbstractSelectionQuery and AbstractQuery
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-04-06 21:58:09 +02:00
Jan Schatteman 9fabe509f2 HHH-16435 - Fix for issue (combine filterpredicates with potential already existing ones)
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-04-06 19:04:17 +02:00
Jan Schatteman 4b034b8c27 HHH-16435 - Added test for issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-04-06 19:04:17 +02:00
Davide D'Alto a8eb205332 HHH-16444 When logging the selected dialect, log the db version too
The db version used by the dialect makes a huge different on the
sql queries used.

The log before this commit:
```
INFO SQL dialect [vert.x-worker-thread-0] HHH000400: Using dialect: org.hibernate.dialect.MariaDBDialect
```

The log after this commit:
```
INFO SQL dialect [vert.x-worker-thread-0] HHH000400: Using dialect: org.hibernate.dialect.MariaDBDialect, version: 10.11
```

I've also updated the HANADialectTestCase because now the error message
contains the db version
2023-04-06 17:49:59 +01:00
Christian Beikov 484cbfe720 HHH-16389 Introduce checkerframework for nullness marking/checking and null check the JPA metamodel generator 2023-04-05 19:14:59 +02:00
Marco Belladelli 0da73a27a5 HHH-16340 Avoid checking discriminator duplication when not insertable 2023-04-05 18:37:43 +02:00
Marco Belladelli 1394659ff3 HHH-16340 Add test for issue 2023-04-05 18:37:43 +02:00
Jan Schatteman 57f581ad59 HHH-16418 - Improve error message
Co-authored-by: Christian Beikov <christian.beikov@gmail.com>
2023-04-05 18:05:04 +02:00
Jan Schatteman 3291ec2cf8 HHH-16418 - Added test and improvement for issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-04-05 18:05:04 +02:00
Andreas Asplund ceb72b4936 HHH-16413 Add test for issue 2023-04-03 15:15:43 +02:00
Marco Belladelli f9dd723e2b HHH-16414 Improve TableGroup resolution for get or create 2023-04-03 15:15:39 +02:00
Marco Belladelli 5cf3e9b4bf Fix failing tests on CockroachDB and Oracle 11 2023-04-03 15:10:45 +02:00
Steve Ebersole e93f44a7fd PublishMigrationGuide task 2023-04-01 09:36:48 -05:00
Jan Schatteman efa7ec172e HHH-16406 - Fix error in PaginationTest for Sybase
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-03-31 19:25:01 +02:00
Jan Schatteman 75a32e9492 HHH-16384 - Fix NPE in AbstractSelectionQuery.setFirstResult
Included check for that in PaginationTest
Moved PaginationTest to Junit5

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-03-31 17:22:49 +02:00