Commit Graph

17652 Commits

Author SHA1 Message Date
Yoann Rodière 3b31351234 Move setting of net.bytebuddy.experimental to the Jenkinsfile
The hope is that whenever we add a new JDK version to test,
we'll notice this setting, will try to remove it and upgrade bytebuddy
if necessary. This would avoid mess-ups like the one that caused
https://github.com/hibernate/hibernate-orm/pull/7790
2024-02-06 13:42:21 +00:00
Gavin King 838bed00eb better handling of the session variable in repositories 2024-02-06 13:45:12 +01:00
Scott Marlow 1051b10192 HHH-17713 Upgrade ByteBuddy to 1.14.11
Signed-off-by: Scott Marlow <smarlow@redhat.com>
2024-02-06 09:54:14 +00:00
Marco Belladelli 4226cf2c02 HHH-17705 Load default bytecode provider using the correct ClassLoader 2024-02-05 17:18:11 +01:00
Yoann Rodière cd391b7359 HHH-17708 Fix formatting/anchor in documentation of @Struct 2024-02-05 14:53:48 +01:00
Christian Beikov 5bd7e86e92 HHH-17662 Replace JdbcTypeConstructor uses for arrays with uniform resolve method 2024-02-05 14:33:35 +01:00
Stephanie Miller 43341da00f HHH-17662 Equals for ArrayJdbcType
JdbcTypes are put into a map and deduplicated there. Without an equals the ArrayJdbcType leaks because each resolution is created new.
2024-02-05 14:33:35 +01:00
Yanming Zhou 747eaa3f2e HHH-17707 Improve ColumnReference.toString() to remove repeated qualifier
`getExpressionText()` already contains `qualifier`
2024-02-05 13:36:38 +01:00
yjpark 98907e1ad4 HHH-17696 added missing @Override to AltibaseSqlAstTranslator.java 2024-02-05 13:34:17 +01:00
yjpark 7b0e511577 HHH-17696 Make Altibase Dialect compatible with Altibase 7.1 and fixes several test failures. 2024-02-05 13:34:17 +01:00
Christian Beikov 472aeb6b6d Fix roundToSecondPrecision when rounding up a second 2024-02-05 13:02:23 +01:00
Gavin King dc9a997f5f improve format of error messages relating to getters/setters 2024-02-03 14:48:05 +01:00
Gavin King 1f6564d345 improve preamble of Generator.adoc 2024-02-03 13:57:15 +01:00
Gavin King c6c8d2cc0f fix some warnings and wrong info in the javadoc
and slightly improve some jdoc in Dialect
also deprecate an unused method with incorrect jdoc
2024-02-03 13:15:09 +01:00
Gavin King f4d17be10c small fixes to @Find and @HQL methods
don't include session parameter type where not necessary
2024-02-03 01:28:49 +01:00
Gavin King 8e4755f84e further improvements to jdoc of @Find and @HQL 2024-02-03 00:46:50 +01:00
Gavin King d96b5dfffc clarify use of Order and Page with @Find
[It's allowed!]
2024-02-02 18:12:27 +01:00
Marco Belladelli 39457c5e12 Fix ORA-21700 in SetAsBasicTest 2024-02-02 12:19:25 +01:00
Gavin King 52aca3078d fix link in javadoc overview 2024-02-02 11:42:02 +01:00
Andrea Boriero 78bb9a9542 HHH-17320 A basic attribute of type TreeMap causes a JdbcTypeRecommendationException 2024-02-01 17:56:31 +01:00
Andrea Boriero 2dbf5ad51b HHH-17320 Add test for issue 2024-02-01 17:56:31 +01:00
Andrea Boriero 6b78d0cf43 HHH-17687 AttributeConverter, query does not use converter to convert 'null' fields 2024-02-01 17:54:02 +01:00
Andrea Boriero f29cf88748 HHH-17687 Add test for issue 2024-02-01 17:54:02 +01:00
Vincent Stradiot 52526cd155 HHH-17442 Add test 2024-02-01 10:11:32 +01:00
Vincent Stradiot a3342ec233 HHH-17442 Use FlushMode.MANUAL for select query in ValidityAuditStrategy 2024-02-01 10:11:32 +01:00
Marco Belladelli 2c86dcd5be HHH-17686 Avoid internal use of pruned expression for named references 2024-01-31 19:26:01 +01:00
Marco Belladelli 26a8c28e9d HHH-17686 Add test for issue 2024-01-31 19:26:01 +01:00
LLEFEVRE 4d7b9f063f HHH-17319 Use Oracle GraalVM for Atlas builds 2024-01-31 18:37:56 +01:00
Christian Beikov 695c3e5706 HHH-17689 Cache SQL statement for unique key lookup 2024-01-31 16:27:16 +01:00
Andrea Boriero 3122c81844 HHH-17326 deprecated lazyLoading no longer working 2024-01-31 11:57:48 +01:00
Marco Belladelli 8be3a1db85 HHH-17594 HHH-17665 Fix proxy narrowing for delayed subtype entities 2024-01-30 19:01:43 +01:00
Marco Belladelli 8ed1e1cb40 HHH-17594 HHH-17665 Add test for issue 2024-01-30 19:01:43 +01:00
Andrea Boriero 225740bce5 HHH-17587 Setting to null a property from a @SecondaryTable and @DynamicUpdate deletes the whole entry from database 2024-01-30 17:29:08 +01:00
Andrea Boriero 663e5c0206 HHH-17587 Add test for issue 2024-01-30 17:29:08 +01:00
Yoann Rodière 1ac21756c6 HHH-17683 Reproducer for jpamodelgen generating wrong constructor for metamodel of entities whose methods contain a `static EntityManager getEntityManager()` 2024-01-30 12:44:54 +01:00
Marco Belladelli b499523fff HHH-17666 Fix trunc function argument type resolver 2024-01-30 10:37:45 +01:00
Gavin King c829d9e5bf HHH-17683 never look for session getters in mapped superclasses or embeddables 2024-01-29 21:18:15 +01:00
Christian Beikov 6ece032b02 HHH-17675 Add migration guide entry for enum mapping change on H2 2024-01-29 12:27:24 +01:00
dependabot[bot] 60bb22d1c4 Bump com.gradle.enterprise from 3.16.1 to 3.16.2
Bumps com.gradle.enterprise from 3.16.1 to 3.16.2.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 11:04:47 +01:00
Marco Belladelli b15ca559d6 HHH-17679 Fix unnecessary table reference resolution for treat 2024-01-26 17:24:01 +01:00
Marco Belladelli 9faa764c20 HHH-17679 Add test for issue 2024-01-26 17:24:01 +01:00
Christian Beikov 3aed69245f HHH-17681 Restore AbstractSqmSelfRenderingFunctionDescriptor backwards compatibility 2024-01-26 17:10:26 +01:00
Steve Ebersole 81ff3dd656 Populate remote Gradle build cache from CI jobs 2024-01-26 08:12:38 -06:00
Christian Beikov 7ef13e1f91 HHH-15086 Introduce configurable query cache layout 2024-01-26 11:01:03 +01:00
Yanming Zhou df93517e1d HHH-14429 Restore <fileset/> support for ant enhance task
fix regression introduced by HHH-11795
2024-01-26 10:59:31 +01:00
Gavin King 78990a7910 HHH-17677 handle literal null arguments more elegantly in StandardFunctionReturnTypeResolvers
resolves a very confusing error message
2024-01-25 18:29:05 +01:00
Andrea Boriero e90dba2c98 HHH-17668 NullPointerException when refreshing bytecode-enhanced entity from second-level cache 2024-01-25 18:24:11 +01:00
Andrea Boriero 08ffae74eb HHH-17668 Add test for issue 2024-01-25 18:24:11 +01:00
Marco Belladelli 7686b6063b HHH-17113 Fix joined inheritance and force discriminator pruning 2024-01-25 18:22:56 +01:00
Marco Belladelli ebdd267a9e HHH-17113 Add test for issue 2024-01-25 18:22:56 +01:00