Commit Graph

12894 Commits

Author SHA1 Message Date
Andrea Boriero fa772e5cc8 HHH-13765 Add test showing the issue has been solved 2024-12-07 14:09:08 +01:00
Andrea Boriero dd0b1b27aa HHH-14244 Add test showing the issue has been solved 2024-12-06 19:29:31 +01:00
Čedomir Igaly 045b722c8d HHH-18787 Contribute type using returnedClass().getTypeName() instead of returnedClass().getName() 2024-12-06 18:05:42 +01:00
Čedomir Igaly 1082ae24dd HHH-18787 Test case 2024-12-06 18:05:42 +01:00
Gavin King 928799d5bd improve the javadoc headers of the main dialects
- fix the incorrect version numbers
- add links to docs
2024-12-06 14:39:04 +01:00
Andrea Boriero b03cbb4cdd HHH-13943 Add test showing the issue has been solved 2024-12-06 13:12:45 +01:00
Jan Schatteman 244a6dcc00 HHH-14340 - Add test
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-12-05 21:45:09 +01:00
Čedomir Igaly 445f95fb62 HHH-18829 Main:
- Hibernate Processor - create ID class in meta data class if entity class with more than
          one ID component is not annotated with @IdClass; property order must be preserved
    - Hibernate Core - if entity class has more than one ID component, but is not annotated with @IdClass
          entity binder should try to use ID class from metamodel if generated
2024-12-05 19:31:53 +01:00
Čedomir Igaly b9351cffc6 HHH-18829 Test:
- Hibernate Processor - generate ID class in metadata class if entity not annotated with @IdClass;
          order of record components must match order of properties in entity class
    - Hibernate Core - check if ID class has been properly generated with preserved order of components
    - Annotated existing test entity classes with @Exclude when ID class can not be generated without causing compilation errors
2024-12-05 19:31:53 +01:00
Jan Schatteman 58a4a4dd73 HHH-953 / HHH-15667 Test cases for these issues
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-12-04 23:56:36 +01:00
Jan Schatteman 23109af6e4 HHH-1914 - test case for UnsupportedOperationException upon merge of unmodifiable collection
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-12-04 20:17:50 +01:00
Čedomir Igaly dcdeb04a13 HHH-18693 Test case with inner classes
Test case for Jakarta Data processing with inner classes
          Changed existing test class to properly check generated metamodel class
          @Exclude-ing "troublemakers" with illegal URI character(s) in entity name
2024-12-04 20:05:05 +01:00
Čedomir Igaly 5cc79fbd38 HHH-18384 Changes after PR comments 2024-12-04 17:39:15 +01:00
Čedomir Igaly f5696f9f67 HHH-18384 Inheritance hierarchy must be followed 2024-12-04 17:39:15 +01:00
Čedomir Igaly d3f5b98249 HHH-18384 Preserving order of @Id annotated elements while adding to list before other elements 2024-12-04 17:39:15 +01:00
Čedomir Igaly 7cc928dbf4 HHH-18384 Removing @FailureExpected annotation from test case 2024-12-04 17:39:15 +01:00
Andrea Boriero e53ff58381 HHH-18692 Hibernate attempts to close batched statements multiple times 2024-12-04 14:33:54 +01:00
Andrea Boriero b5c4f462ae HHH-18692 Add test for issue 2024-12-04 14:33:54 +01:00
Gavin King a83b08abc0 improve format of second-level cache log messages 2024-12-04 12:21:44 +01:00
Gavin King 1405fb1f6a HHH-18907 tests for the format of log messages are just annoying
tests should break when there is a bug; they should never break
when we make trivial aesthetic changes
2024-12-04 07:17:15 +01:00
Gavin King aae5333dc4 HHH-18907 improve how statistics are logged 2024-12-04 07:17:15 +01:00
Gavin King c9fa8aabab HHH-18907 fix weird way of enabling logging of session metric
hibernate.session.events.log is now obsolete

also deprecate obsolete BaseSessionEventListener class
2024-12-04 07:17:15 +01:00
Andrea Boriero 2a70f069ad HHH-17838 @OneToOne relationship + @Embeddable keys + FetchType.LAZY fail 2024-12-03 18:07:37 -06:00
Andrea Boriero 406ab5bd4f HHH-17838 Add test for issue 2024-12-03 18:07:37 -06:00
Gavin King 1a5db3bf42 HHH-18892 add hex() function 2024-12-03 23:16:28 +01:00
Gavin King 5a8db1caa3 HHH-18892 add test for md5() function 2024-12-03 21:10:19 +01:00
Gavin King b36ee674ca HHH-18892 add sha() and md5() functions to HQL 2024-12-03 19:43:31 +01:00
Gavin King 5efd37a4d8 HHH-18902 completely remove Vibur
it has not been updated in 5 years
2024-12-03 08:35:29 +01:00
Gavin King 90ff5e712a HHH-18902 completely remove Proxool
it has not been updated in 20 years!
2024-12-03 08:35:29 +01:00
Čedomir Igaly cbad5bf4ae HHH-18274 Fixed spotless check errors 2024-12-02 10:53:17 +01:00
Cedomir Igaly aeb7601ac9 HHH-18274 Properly resolving Java type in binary and unary expressions 2024-12-02 10:53:17 +01:00
Cedomir Igaly 63e90a3dcb HHH-18274 Test similar to org.hibernate.orm.test.query.hql.instantiation.InstantiationWithGenericsTest,
but testing different operations using generic field overridden in subclass

Test class org.hibernate.orm.test.query.hql.instantiation.InstantiationWithGenericsExpressionTest is derived from
org.hibernate.orm.test.query.hql.instantiation.InstantiationWithGenericsTest by adding test cases for
binary and unary expressions, and function call.
2024-12-02 10:53:17 +01:00
Gavin King d5b7289686 remove deprecated/obsolete Dialect-related stuff 2024-12-01 16:25:32 +01:00
Gavin King 2a4f4304c7 remove deprecated and very ugly member of @Cache 2024-12-01 16:25:32 +01:00
Gavin King dbbe61c5a0 minor cleanups to ServiceRegistryImpls 2024-11-30 22:31:17 +01:00
Gavin King c802501a0a try to fix two CI failures from new tests 2024-11-30 17:21:12 +01:00
Gavin King e14ead0c0f HHH-16516 don't quote $ unnecessarily
it's only needed on HSQLDB

and remove unnecessary logging
2024-11-29 20:35:32 +01:00
Gavin King 6be5d52eb8 HHH-16054 add test showing issue fixed 2024-11-29 16:28:32 +01:00
Gavin King 297db578cc refactorings to EntityType, minor code cleanups to ManyToOneType 2024-11-29 14:06:25 +01:00
Gavin King 817f62963e minor code cleanups to Identifier 2024-11-29 14:06:25 +01:00
Gavin King 38fb68a57c correctly describe automatic quoting in doc 2024-11-29 14:06:25 +01:00
Marco Belladelli d433133946 HHH-18709 Use path to infer criteria value-bind parameter type on `set` 2024-11-29 08:23:18 +01:00
Marco Belladelli 2fa1765f5c HHH-18709 Add test for issue 2024-11-29 08:23:18 +01:00
Gavin King e0c95b77d6 HHH-13932 add test showing issue fixed 2024-11-29 07:39:39 +01:00
Gavin King 78cd996037 fix @DialectOverrides.SQLRestrictions
and add a test
2024-11-29 06:23:15 +01:00
Gavin King d60aa27e7c HHH-18810 expose impliedJavaType of BasicValue 2024-11-28 19:45:39 +01:00
Gavin King 79aa178047 HHH-16516 rework CamelCaseToUnderscoresNamingStrategy and handle quoted identifiers 2024-11-28 14:36:32 +01:00
Andrea Boriero b6ee7918e7 HHH-18069 NullPointerException when unioning partition results 2024-11-28 10:37:40 +01:00
Andrea Boriero 9ed11194a2 HHH-18069 - Add test 2024-11-28 10:37:40 +01:00
Jan Schatteman 7ca9d0aeed HHH-18069 - Add test
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-11-28 10:37:40 +01:00