Commit Graph

11387 Commits

Author SHA1 Message Date
Gavin King d93463c060 document record instantiation for @HQL methods 2024-02-12 00:16:06 +01:00
Gavin King e5a994bfa1 fix typechecking of primitives in instantiations for query methods 2024-02-12 00:16:06 +01:00
Gavin King 70705f3e96 HHH-17729 move validation of constructors in HQL instantiations to SemanticQueryBuilder
fix test
2024-02-12 00:16:06 +01:00
Gavin King a9ea331e40 HHH-17729 move validation of constructors in HQL instantiations to SemanticQueryBuilder
also validate injection via fields/properties
2024-02-12 00:16:06 +01:00
Gavin King dcb2c60d4e HHH-17729 move validation of constructors in HQL instantiations to SemanticQueryBuilder
also validate injection via fields/properties
2024-02-12 00:16:06 +01:00
Gavin King 766234d281 HHH-17729 move validation of constructors in HQL instantiations to SemanticQueryBuilder
fix tests
2024-02-12 00:16:06 +01:00
Gavin King 1a9ec1d0ad HHH-17729 move validation of constructors in HQL instantiations to SemanticQueryBuilder
workaround for jpamodelgen
2024-02-12 00:16:06 +01:00
Gavin King 24937b4e67 HHH-17729 move validation of constructors in HQL instantiations to SemanticQueryBuilder
report SemanticExceptions with the query string
fix some warnings in ReflectHelper
2024-02-12 00:16:06 +01:00
Gavin King 0bce456e3a properly document use of SqmFunctionDescriptor 2024-02-10 16:01:56 +01:00
Gavin King ff76331b22 fix language and syntax in a Javadoc comment
and clean up unused imports
2024-02-10 12:28:09 +01:00
Gavin King cad2d2bc62 clean up JdbcEnvironmentInitiator and parse micro database version
this resolves a spurious warning on Derby
2024-02-10 12:28:09 +01:00
Gavin King 7445554e88 HHH-15551 improve error message for missing association annotations 2024-02-10 09:53:33 +01:00
Gavin King 69776bc305 cleanup IntelliJ warnings in dialect package 2024-02-08 18:38:06 +01:00
Gavin King b571b22777 HHH-17724 add count(*) to HibernateCriteriaBuilder
and remove some unused type parameters
2024-02-08 12:53:41 +01:00
Andrea Boriero ecd0acb735 HHH-17704 Query using detached Proxy as parameter fails with LazyInitializationException 2024-02-08 12:07:08 +01:00
Andrea Boriero 9421b94bca HHH-17704 Add test for issue 2024-02-08 12:07:08 +01:00
Andrea Boriero 29f51ef9ca HHH-16454 PostgreSQL ILIKE Keyword is considered a column name when deducing alias injection points 2024-02-08 12:06:11 +01:00
Andrea Boriero 13c714c4c4 HHH-16454 Add test for issue 2024-02-08 12:06:11 +01:00
Marco Belladelli 50e6cb62e2 HHH-17693 Fix typecheck assertions for converted properties
Also introduce a custom `DurationJdbcType`, mainly for validation purposes.
2024-02-08 10:05:39 +01:00
Marco Belladelli 8a993f4057 HHH-17693 Add test for issue 2024-02-08 10:05:39 +01:00
Yanming Zhou c804ff3ac5 HHH-17719 Supports boolean as return type of mutation query method 2024-02-07 14:10:48 +01:00
Gavin King dbe2c5451e more blurb about finder/query methods 2024-02-07 12:57:34 +01:00
Andrea Boriero e9e601d884 HHH-16974 IllegalStateException Unsupported tuple comparison combination 2024-02-07 11:17:55 +01:00
Andrea Boriero 53f22d7dec HHH-16974 Add test for issue 2024-02-07 11:17:55 +01:00
Gavin King 8a07a1131b add missing package-info 2024-02-07 11:16:07 +01:00
Marco Belladelli a71bb28a8a HHH-17688 Make statement release more consistent in mutation delegates 2024-02-07 10:15:57 +01:00
Marco Belladelli 0f2e736b6d HHH-17688 Add test for issue 2024-02-07 10:15:57 +01:00
Gavin King 5ad4d680ab HHH-17716 implement JtaTransactionAdapterTransactionManagerImpl.setTimeOut() 2024-02-06 20:06:21 +01:00
Gavin King 5fa08123b3 big code example in package doc for org.hibernate.annotations.processing 2024-02-06 16:03:28 +01:00
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
Marco Belladelli 4226cf2c02 HHH-17705 Load default bytecode provider using the correct ClassLoader 2024-02-05 17:18:11 +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 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 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 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
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
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
Christian Beikov 695c3e5706 HHH-17689 Cache SQL statement for unique key lookup 2024-01-31 16:27:16 +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