Commit Graph

20027 Commits

Author SHA1 Message Date
Gavin King 02cf728bcb median function documentation, improve test 2024-12-07 17:01:15 +01:00
Andrea Boriero fa772e5cc8 HHH-13765 Add test showing the issue has been solved 2024-12-07 14:09:08 +01:00
Čedomir Igaly d779632f15 Adding returnClass as createNamedQuery parameter will create TypedQuery and avoid irritating compilation time warnings 2024-12-06 22:48:45 +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
Čedomir Igaly 2ff75df6a1 HHH-18920 Proper class name is JpaSelection.getJavaTypeName(), not JpaSelection.getJavaType().getName() 2024-12-06 18:01:54 +01:00
Čedomir Igaly 54781895db HHH-18920 Test case - Jakarta Data repository with query selecting enum column 2024-12-06 18:01:54 +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
Gavin King 158771bbfa fix two warnings 2024-12-05 18:39:05 +01:00
Gavin King 87df79a3c4 remove unnecessary code
cc @cigaly
2024-12-05 18:39:05 +01:00
Steve Ebersole 4bf2ea6c56 HHH-18912 - Fix ORM release process 2024-12-05 10:10:21 -06:00
Hibernate-CI 26b9d81185 Post-steps for release : `7.0.0.Beta3` 2024-12-05 15:54:12 +00:00
Hibernate-CI ebe8bbbacb Pre-steps for release : `7.0.0.Beta3` 2024-12-05 15:45:19 +00:00
Steve Ebersole f925a800a7 HHH-18912 - Fix ORM release process 2024-12-05 09:40:30 -06:00
Gavin King e4e1b59a1d HHH-18863 allow index creation to be disabled in processor
also cache enum results read from index
2024-12-05 14:56:39 +01:00
Gavin King 83110b4638 HHH-18863 allow index creation to be disabled in processor
also cache enum results read from index
2024-12-05 14:56:39 +01:00
Steve Ebersole 3cf2bc88e0 HHH-18912 - Fix ORM release process 2024-12-05 01:46:06 -06:00
Steve Ebersole 6354326257 HHH-18912 - Fix ORM release process 2024-12-05 01:14:46 -06:00
Steve Ebersole 60ff229ca1 HHH-18912 - Fix ORM release process 2024-12-05 00:51:36 -06:00
Steve Ebersole 9eb6cdd786 Revert "fix release publishing"
This reverts commit a1b4773496.
2024-12-05 00:51:36 -06: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
Gavin King fdae11f791 clean up some minor formatting / code style issues 2024-12-04 22:39:16 +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 d3a1ebd0e2 HHH-18693 Changed code to allow creation of metadata for inner static non-private classes
Generaed metadate class for inner class A.B is A_.B_
2024-12-04 20:05:05 +01:00
Čedomir Igaly d91d87c516 HHH-18693 Changed name generation for metamodel classes and sources
Generated metadata for inner class A.B is A_.B_
          Path source for inner class is identical to path source for enclosing class
2024-12-04 20:05:05 +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
Čedomir Igaly a38a300a32 HHH-18868 Array annotated with one of @ManyToMany, @OneToMany, or @ElementCollection should be represented with ListAttribute, not SingularAttribute 2024-12-04 13:52:48 +01:00
Čedomir Igaly 212d4b676e HHH-18868 Test case "borrowed" from Core, slightly adapted 2024-12-04 13:52:48 +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
Steve Ebersole a1b4773496 fix release publishing 2024-12-03 22:29:47 -06:00
Steve Ebersole 11afe4781b HHH-18861 - Improve GitHub release announcement body for automated releases 2024-12-03 21:58:18 -06:00
Steve Ebersole eb01cd06ee HHH-18861 - Improve GitHub release announcement body for automated releases 2024-12-03 21:30:26 -06:00
Steve Ebersole a72d94a704 HHH-18861 - Improve GitHub release announcement body for automated releases 2024-12-03 21:24:29 -06:00
Steve Ebersole caf7f85b5f HHH-18861 - Improve GitHub release announcement body for automated releases 2024-12-03 21:19:26 -06: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