Commit Graph

17770 Commits

Author SHA1 Message Date
Marco Belladelli dfb56c2f36 HHH-17727 Add test for issue 2024-02-19 11:46:59 +01:00
LLEFEVRE 778e5b1214 HHH-15756 Table Value Constructor (INSERT, FROM column aliasing at table alias, CTE) 2024-02-19 11:32:31 +01:00
LLEFEVRE 7c400e10bb HHH-15756 Table Value Constructor (INSERT, FROM column aliasing at table alias, CTE) 2024-02-19 11:32:31 +01:00
Gavin King 45a3ed9565 HHH-17748 update HQL doc 2024-02-18 23:28:56 +01:00
Gavin King 777dede7da HHH-17748 accept abbreviated enum value names in HQL 'when' clause 2024-02-18 23:28:56 +01:00
Gavin King bfda1c6142 fix typo in javadoc 2024-02-18 19:53:57 +01:00
Gavin King 2558f9843a HHH-17746 update tests to use streamlined API 2024-02-17 12:42:09 +01:00
Gavin King e732cddb09 HHH-17746 add typed setProperty() methods to Configuration
and fix handling of DEFAULT_NULL_ORDERING
2024-02-17 12:42:09 +01:00
Gavin King 3769d4c233 use requiresService() much more consistently
we should usually avoid the use of getService() unless
there is an explicit null test on the client side
2024-02-16 23:18:30 +01:00
Gavin King f1e099b8e8 HHH-17745 @HQL methods accepting embeddables
and replace usages of getJavaType().getTypeName(), since
using getTypeName() directly is much more freindly to the
annotation processor (as well as less verbose)
2024-02-16 21:08:49 +01:00
Marco Belladelli eb11676479 HHH-17096 Always initialize table group for subtype treated joins 2024-02-16 16:34:45 +01:00
Marco Belladelli 7eb8aac96d HHH-17096 Add test for issue 2024-02-16 16:34:45 +01:00
Gavin King 50bbc803ba HHH-16048 add 'hibernate.query.hql.portable_integer_division'
update doc
2024-02-16 16:23:35 +01:00
Gavin King d7fe31643a HHH-16048 add 'hibernate.query.hql.portable_integer_division'
consistent interpretation of division on MySQL and Oracle
2024-02-16 16:23:35 +01:00
qinxi a97b7ba611 HHH-17717 Add semicolon(`;`) to HQL_SEPARATORS 2024-02-16 13:35:17 +01:00
Marco Belladelli 5309d9d63b HHH-17508 Fix using union queries as CTE in criteria 2024-02-16 11:58:22 +01:00
Marco Belladelli a0294c31fe HHH-17508 Add test for issue 2024-02-16 11:58:22 +01:00
Marco Belladelli 8a8099c3fd HHH-17701 Use relational java type when resolving mapping expressibles 2024-02-16 11:55:52 +01:00
Marco Belladelli d5d9f5766f HHH-17701 Add test for issue 2024-02-16 11:55:52 +01:00
Marco Belladelli b91a7fe9fe HHH-17695 Skip rendering null nested JSON aggregate embeddables 2024-02-16 10:47:27 +01:00
Marco Belladelli 734bd775bf HHH-17695 Add test for issue 2024-02-16 10:47:27 +01:00
LLEFEVRE 464d3a82fd HHH-15753 GROUP BY ALIAS support in 23c 2024-02-16 10:46:57 +01:00
Jan Schatteman c8234fc493 HHH-12565 - Add some additional tests
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-02-15 13:40:15 +01:00
Gavin King d61719acd5 minor clarification to docs on SQL array support 2024-02-14 20:35:40 +01:00
Gavin King f111d1a1a1 try to report more info from annotation processor failure 2024-02-14 15:14:23 +01:00
Gavin King 8dd0ef5198 improve error messages coming from SqmPathRegistryImpl
and missing add javadoc to AliasCollisionException
2024-02-14 12:55:43 +01:00
Gavin King e4a998cbe7 add a TODO 2024-02-14 12:55:43 +01:00
Gavin King b4b4112f75 add a TIP about @OneToOne mappings 2024-02-14 12:05:17 +01:00
Gavin King 914227de93 HHH-16463 fix use of @PrimaryKeyJoinColumn with @MapsId
supporting this mapping is required by JPA
2024-02-14 11:34:55 +01:00
Gavin King 2c85e5d190 HHH-16522 add test for fixed bug 2024-02-14 01:12:38 +01:00
Gavin King d57e09c7e6 add javadoc to Session regarding proxy objects 2024-02-13 17:30:02 +01:00
Gavin King 97099c0280 better handling of instantiation for @HQL methods 2024-02-12 20:53:09 +01:00
Marco Belladelli d2ca21603b Assume "yes" for pgvector package installation in db startup script 2024-02-12 16:51:14 +01:00
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 d09d6ffdf0 HHH-17729 move validation of constructors in HQL instantiations to SemanticQueryBuilder
test for query method generation
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