Commit Graph

20120 Commits

Author SHA1 Message Date
Gavin King 2a03f97b73 remove deprecated operations of LockOptions 2024-12-13 01:50:37 +01:00
Gavin King 9823fccfe8 remove a deprecated operation 2024-12-13 01:50:37 +01:00
Gavin King 399a1d0071 add forRemoval=true in two places 2024-12-13 01:50:37 +01:00
Gavin King c8e4fead2c remove some unused deprecated operations 2024-12-13 01:50:37 +01:00
Gavin King 7f8b685973 HHH-18929 generate check constraints for discriminator columns 2024-12-12 23:15:10 +01:00
Gavin King 18d6a993b2 HHH-18929 fix a test that looks wrong 2024-12-12 23:15:10 +01:00
Gavin King 3f92cfb98e very minor 2024-12-12 19:43:39 +01:00
Gavin King 8782cb689e add missing jdoc for hibernate.discriminator.force_in_select setting 2024-12-12 19:43:39 +01:00
Christian Beikov 301c38bf7d HHH-18932 Use target table columns for SQM joins, except for join table associations 2024-12-12 17:02:11 +01:00
marko-bekhta 58d2239d85 Do not rely on expressly for Hibernate Validator message interpolation 2024-12-12 17:01:38 +01:00
Rguihard 4b52bff090 HHH-18916: regex completion
According to mysql and postgresql, add "cross" and "full" keywords in the regex
https://dev.mysql.com/doc/refman/8.4/en/join.html
https://www.postgresql.org/docs/current/queries-table-expressions.html#id-1.5.6.6.5.6.4.3.1.1
2024-12-12 16:52:56 +01:00
Rguihard a03d22190d HHH-18916 - extends addQueryHints behavior
QUERY_PATTERN regex handles queries with natural, left/right, inner/outer join

Add unit test to check existing behavior
2024-12-12 16:52:56 +01:00
Christian Beikov a893f15884 Drop JDK 20 and add JDK 25-ea testing 2024-12-12 14:52:04 +01:00
Christian Beikov 32d1455326 Fix ReSaveReferencedDeletedEntity for CockroachDB and HANA 2024-12-12 14:20:11 +01:00
Christian Beikov e93a07b4f9 Only cast LONG32 to text on PG to avoid type comparison related issues 2024-12-12 14:20:11 +01:00
Gavin King fc58d614d6 improve documentation of stats.spi 2024-12-12 11:44:28 +01:00
Dmitriy Churilov 7780b74c21 HHH-13790 Temporary session not being closed 2024-12-12 11:34:33 +01:00
Réda Housni Alaoui 27aff6eb01 HHH-18371 JDBC connection acquisition failure can lead to query cache corruption 2024-12-12 11:32:30 +01:00
Gavin King ea202ebbfb code cleanups to MappingMetamodelImpl 2024-12-12 01:05:46 +01:00
Gavin King 1c93f10adf update SessionFactory javadoc 2024-12-12 01:05:46 +01:00
Čedomir Igaly 816b29d390 HHH-18894 Create and return new EnumJavaType object if class name represents enum that is not currently known 2024-12-11 15:51:27 +01:00
Čedomir Igaly 78e6d632f2 HHH-18894 Simplified test case selecting (non-managed) enum constant as column 2024-12-11 15:51:27 +01:00
Gavin King b8a6097f5b treat empty/blank @DiscriminatorValue literally
the spec doesn't say it can't be empty, and so I think this
is the most natural interpretation
2024-12-11 14:00:10 +01:00
Gavin King 6cfcee5e4b log warnings when settings are ignored for Datasource 2024-12-11 11:33:08 +01:00
Andrea Boriero 0531454f88 HHH-15186 Add test showing the issue has been resolved 2024-12-11 11:26:28 +01:00
Marco Belladelli e38ae96acf HHH-18868 Cleanup tests and mapper-supers identifier mapper check 2024-12-11 09:49:29 +01:00
Čedomir Igaly 8129ca011a HHH-18868 Simplified ID property check 2024-12-11 09:06:15 +01:00
Čedomir Igaly 81a7a20c78 HHH-18868 Renamed test classes 2024-12-11 09:06:15 +01:00
Čedomir Igaly 2e583d556d HHH-18868 ID and version properties are handled separately, do not process them twice 2024-12-11 09:06:15 +01:00
Čedomir Igaly be2551154f HHH-18868 Adapted test case from https://hibernate.atlassian.net/browse/HHH-18868 2024-12-11 09:06:15 +01:00
Gavin King c88b1e8cc9 links to settings from doc
(oops!)
2024-12-10 21:31:28 +01:00
Gavin King 8f11eb56a3 links to settings from doc 2024-12-10 21:25:09 +01:00
Gavin King bb8aabbf0a improve jdoc for some JdbcSettings and deprecate one of them 2024-12-10 17:02:09 +01:00
Andrea Boriero 87bab93d05 HHH-14533 Add test for issue 2024-12-10 15:30:11 +01:00
Marco Belladelli 0ee78b52f6 HHH-18903 HHH-18904 Improve accessor methods check during enhancement 2024-12-10 10:41:40 +01:00
Marco Belladelli 5b981404a2 HHH-18903 HHH-18904 Add test for issue 2024-12-10 10:41:40 +01:00
Čedomir Igaly c21568f77c HHH-18869 Override Dialect.equivalentTypes in MariaDBDialect to return true for JSON vs LONGTEXT
See https://mariadb.com/kb/en/json-data-type/
2024-12-09 18:05:12 +01:00
Čedomir Igaly de8a565293 HHH-18869 Test case for Jira issue https://hibernate.atlassian.net/browse/HHH-18869 2024-12-09 18:05:12 +01:00
Andrea Boriero efb62c7365 HHH-14349 Add test showing the issue has been solved 2024-12-09 15:49:19 +01:00
Scott Marlow 8af90ca921 HHH-18917 Follow all of the JavaBeans rules in enhance/internal/bytebuddy/EnhancerImpl when checking if a class can be enhanced
Signed-off-by: Scott Marlow <smarlow@redhat.com>
2024-12-09 10:33:19 +01:00
Andrea Boriero 4ebbf5b36d HHH-13377 Lazy loaded properties of bytecode enhanced entity are left stale after refresh of entity 2024-12-09 09:45:37 +01:00
Andrea Boriero ad5855f4b1 HHH-13377 Add test for issue 2024-12-09 09:45:37 +01:00
Gavin King 8d30649cf1 use Objects.requireNonNull in generated code for repositories
instead of directly throwing IllegalArgumentException
2024-12-07 21:47:43 +01:00
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