Commit Graph

13091 Commits

Author SHA1 Message Date
Č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
Gavin King 724212bd5d update Validator to 9 2024-12-02 13:33:54 +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 05852b706f
more cleanups to dependencies (#9354) 2024-12-01 13:37:51 +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
Marco Belladelli d723ff01d8 HHH-18872 Resolve concrete entity name when initializing lazy to-ones 2024-11-28 09:36:25 +01:00
Marco Belladelli 3cfa7c7b00 HHH-18872 Rename and cleanup test 2024-11-28 09:36:25 +01:00
gtoison 107e426f0f HHH-18872 Test reproducing the issue 2024-11-28 09:36:25 +01:00
Gavin King 1287d93a5b HHH-15102 allow -- style comments in native SQL query 2024-11-27 22:35:32 +00:00
Sanne Grinovero 3d0545e2a8 HHH-18875 Avoid using the deprecated constructors of StandardStack 2024-11-27 21:22:07 +00:00
Sanne Grinovero 76b31050f1 HHH-18875 Avoid need for refletive registrations triggered by StandardStack's custom implementation 2024-11-27 21:22:07 +00:00
Gavin King 61d0a81231 two minor changes 2024-11-27 18:47:42 +00:00
Gavin King f9d2e8e974 HHH-18883 fix for TransientObjectException 2024-11-27 18:47:42 +00:00
Davide D'Alto 1fe23ae2ed HHH-18854 - Changes for Hibernate Reactive 3.0 integration 2024-11-27 09:20:30 -06:00
Andrea Boriero 49886d1fd5 HHH-18610 SQLGrammarException: Unable to find column position by name: TYPE when using Single Table Inheritance with a strict JDBC driver such as PostgreSQL 2024-11-27 15:46:44 +01:00
Andrea Boriero cd47e91900 HHH-18610 Add test for issue 2024-11-27 15:46:44 +01:00
Čedomir Igaly 8b517c50f3 HHH-18881 Implement fromEncodedString as inverse of appendEncodedString 2024-11-27 14:36:51 +01:00
Čedomir Igaly a93e8e6e20 HHH-18881 Modified test case from Jira issue 2024-11-27 14:36:51 +01:00
Gavin King 26bbaac090 HHH-12866 test showing problem is fixed
original author of test was @jedichenbin
2024-11-27 08:22:53 +00:00
Marco Belladelli 672922b526
Fix some unused imports causing spotless check failures 2024-11-26 18:45:31 +01:00
Andrea Boriero 26bcbb2e50 HHH-18323 Add test for issue 2024-11-26 14:09:42 +01:00
Gavin King 52c80afd0f use isBlank() instead of isEmpty() to better handle blank annotation values
especially blank column names
2024-11-25 23:39:34 +00:00
Gavin King bd33665cc7 some minor cleanups in InFlightMetadataCollectorImpl 2024-11-25 23:39:34 +00:00
Gavin King 16141487d5 HHH-14519 improve error message
fix by @karge-itestra Tassilo Karge
2024-11-25 23:39:34 +00:00
Marco Belladelli ceb7e565fe
HHH-18799 Temporarily skip XML embeddable tests on Oracle 23+ 2024-11-25 12:21:44 +01:00
Gavin King 0bb48c196c fix capitalization in a title 2024-11-24 22:52:09 +01:00
Gavin King 53922d31b3 HHH-15228 test showing round() works with BigDecimal 2024-11-24 22:52:09 +01:00
Gavin King 438b9bdc85 add an API note to HibernatePersistenceConfiguration 2024-11-24 11:22:06 +01:00
Gavin King 55993576e4 add two more convenience operations to HibernatePersistenceConfiguration 2024-11-24 11:22:06 +01:00
Gavin King 204f53d3ba unbreak Configuration.mergeProperties()
I broke this two years ago, but nobody ever noticed since it has no callers
2024-11-24 11:22:06 +01:00
Gavin b8ed5ad185 add some typesafe + varargs operations to Configuration
to improve getting started experience
2024-11-24 11:22:06 +01:00
Gavin King 10935e1c33 javadoc improvements 2024-11-23 22:47:21 +01:00
Gavin King ddeaffc917 light refactoring of EventEngine and CallbacksFactory 2024-11-23 22:47:21 +01:00
Gavin King 9442f4da19 HHH-12997,HHH-9897 throw meaningful error for @JoinFomula with @OneToMany 2024-11-23 22:01:52 +01:00
Gavin King 8a21303789 add some 'final' annotations 2024-11-23 17:31:16 +01:00
Gavin King 6dd5c3f2b7 HHH-14416 tolerate the user mangling the id of a removed object
particularly in the case where this occurred as a result of identifier rollback
2024-11-23 17:31:16 +01:00
KARGET 5675cbbb66 HHH-14416 re-persisting removed child entities 2024-11-23 17:31:16 +01:00
Gavin King cacd1a7ecc HHH-14119 test showing parameter padding works with criteria literals 2024-11-23 11:11:17 +01:00
Gavin King 11139c288a HHH-13969 query the page size on Sybase ASE 2024-11-23 08:33:27 +01:00
Marco Belladelli ffd40cdaf2 HHH-18583 Include identifier cols in persister's shared column names 2024-11-22 19:40:10 -06:00
Marco Belladelli fc33ed82f7 HHH-18583 Add test for issue 2024-11-22 19:40:10 -06:00
Marco Belladelli 8dca8637a8 HHH-18683 Change metamodel implementations to comply with JPA spec 2024-11-22 17:12:04 -06:00
Marco Belladelli a4233cf34d HHH-18683 Add test for issue 2024-11-22 17:11:11 -06:00
Gavin King 539e270d5c misc code style cleanups 2024-11-22 16:00:17 -06:00
Gavin King f5062fca66 HHH-14020 add getServiceRegistry() to TypeBootstrapContext 2024-11-22 16:00:17 -06:00
Steve Ebersole ec5bbe4546 HHH-18534 - Remove the org.hibernate.boot.models.categorize package 2024-11-22 15:30:22 -06:00
Jan Schatteman b9274f5b75 HHH-18765 - additional fix needed for the generic array_to_string function
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-11-22 16:04:19 +01:00
Jan Schatteman 7e1a740605 HHH-18765 - fix error in the booleanarray_to_string auxiliary function for Oracle
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-11-22 16:04:19 +01:00
Jan Schatteman 62b6ed5cae HHH-18765 - Add test for issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-11-22 16:04:19 +01:00
Gavin King 96cba56591 refactorings of FetchBuilders
attempt to migrate to "short functions" style (only partially successfully)
2024-11-22 12:16:25 +01:00
Gavin King 9f9eeb795b make private 2024-11-22 12:16:25 +01:00
Christian Beikov 57142a86dd HHH-18800 Add XML aggregate support for PostgreSQL 2024-11-22 11:18:22 +01:00
Christian Beikov eeba7edf32 HHH-18799 Add XML aggregate support for Oracle 2024-11-22 11:18:22 +01:00
Christian Beikov 6d1b9c475a HHH-18802 Add XML aggregate support for SQL Server 2024-11-22 11:18:22 +01:00
Christian Beikov 1077b6f0a9 HHH-18803 Add XML aggregate support for DB2 2024-11-22 11:18:22 +01:00
Christian Beikov d39aa6d162 HHH-18801 Add XML aggregate support for Sybase ASE 2024-11-22 11:18:22 +01:00
Christian Beikov 6b1ea3e232 HHH-18804 Add XML aggregate support for HANA 2024-11-22 11:18:22 +01:00
Christian Beikov c02eae1d89 HHH-16160 Fix some XML related issues that came up 2024-11-22 11:18:22 +01:00
Christian Beikov c5f5e10df4 HHH-18629 Fix inconsistent column alias generated while result class is used for placeholder 2024-11-22 11:16:16 +01:00
Gavin King 800a3f0738 light refactoring to GeneratorBinder 2024-11-22 08:07:04 +01:00
Yanming Zhou 2f7052c0ce
HHH-18737 Introduce util methods for get bean from BeanContainer (#9100) 2024-11-22 01:30:35 +01:00
Nathan Xu e4cba2c8d8
improve some Javadocs in sql package (#9228)
* improve some Javadocs in sql package

---------

Co-authored-by: nathan.xu <nathan.xu@procor.com>
Co-authored-by: Gavin King <gavin@hibernate.org>
2024-11-22 00:44:46 +01:00
Yanming Zhou ff99ddbf14 HHH-18839 Validate property type of `@IdClass` at bind time 2024-11-22 00:41:48 +01:00
Karel Maesen 894fa8475b HHH-18866 - Fix CockroachDB test failures 2024-11-21 15:44:58 +01:00
Steve Ebersole 21095565bc HHH-7913 - Schema replacement in <subselect> / @Subselect 2024-11-21 06:53:51 -06:00
Christian Beikov c8a66789d1 Fix some JSON function rendering issues on TiDB 2024-11-21 12:55:53 +01:00
Christian Beikov bcd70a82c4 Fix some JSON function rendering issues on HANA 2024-11-21 12:55:53 +01:00