8396 Commits

Author SHA1 Message Date
Karel Maesen
e0615b13a8 HHH-15294 cockroachdb fixes
* HHH-15294 Fix setting of untyped null values in CockroachDB dialect

Solution exactly same as in PostgresqlDialect

* HHH-15294 Change CockroachDB multitable mutation strategies to CTE

Align with the Postgresql strategy

* HHH-15294 Fix missing IdentityColumnSupport in CockroachDB Dialect

* HHH-15294 Skip test for CockRoachDB due to unsupported automatic type conversion

* HHH-15294 CockroachDB doesn't support value propagation
2022-05-30 16:15:57 +02:00
koisyu
6728afadb7 HHH-15300 - Lazy evaluation to statement.toString() when logging slow queries 2022-05-27 10:38:57 +02:00
Andrea Boriero
bf547fe432 HHH-15281 INSERTs/UPDATEs no longer executed as JDBC Batch statements if hibernate.temp.use_jdbc_metadata_defaults is set to false 2022-05-24 16:07:04 +02:00
Andrea Boriero
6f4d28b034 HHH-15281 Add test for issue 2022-05-24 16:06:58 +02:00
Andrea Boriero
193e078db6 HHH-15286 Query with a Composite Identifier (@IdClass) throws an exception 2022-05-23 15:06:41 +02:00
Andrea Boriero
05b9228842 HHH-15286 Add test for issue 2022-05-23 15:06:28 +02:00
Christian Beikov
f3789090bc HHH-15291 Fix translation issue with SqmCoalesce 2022-05-23 12:51:05 +02:00
Andrea Boriero
5f11d4763b HHH-15279 NPE with Id on OneToOne referencing entity with multi-level EmbeddedId 2022-05-23 10:41:20 +02:00
Andrea Boriero
be4e14baaf HHH-15279 Add test for issue 2022-05-23 10:41:19 +02:00
Karel Maesen
f6b6e738ef HHH-15293 BYTES column type in CockroachDB does not support a length specification 2022-05-23 10:20:34 +02:00
Nathan Xu
6e98dad984 HHH-15292 escape html chars in JavaDoc 2022-05-23 10:18:01 +02:00
Andrea Boriero
6c2b707c27 HHH-15283 - fix NPE for NamedNativeQuery + SqlResultSetMapping (columns) 2022-05-23 09:40:57 +02:00
Nathan Xu
7417a40ef4 HHH-15283 - fix NPE for NamedNativeQuery + SqlResultSetMapping (columns) 2022-05-23 09:40:42 +02:00
Andrea Boriero
e26b56e13e HHH-15258 Fix test failure for HANA db 2022-05-23 09:37:21 +02:00
Andrea Boriero
1f89f2fa97 HHH-15285 Calling getJavaType() of @ElementCollection with basic types returns wrong type 2022-05-19 18:49:09 +02:00
Andrea Boriero
eb4e89da3b HHH-15285 Add test for issue 2022-05-19 18:48:54 +02:00
Andrea Boriero
e46f54eb61 HHH-15258 Orphan removal for OneToMany relations is broken when used with GenerationType.IDENTITY 2022-05-19 13:08:52 +02:00
Nathan Xu
6611f14dfb HHH-15258 Add test for issue 2022-05-19 13:08:37 +02:00
Andrea Boriero
48435b8a99 HHH-15260 Criteria query is unable to determine TableReference when combining subquery with join 2022-05-19 12:19:59 +02:00
Thomas Heigl
82586e3bf7 HHH-15260 Add test for issue 2022-05-19 12:19:48 +02:00
Andrea Boriero
42e1280784 MysqlDialect register localtimeLocaltimestamp functions 2022-05-19 10:50:00 +02:00
Andrea Boriero
78fc811716 HHH-15278 NPE when NULL is used in the projection 2022-05-19 10:49:52 +02:00
Andrea Boriero
4871f453c9 HHH-15278 Add test for issue 2022-05-19 10:49:40 +02:00
Nathan Xu
a5103307b6 HHH-15153 - @OneToOne does not support @EmbeddedId 2022-05-18 15:50:49 +02:00
Andrea Boriero
a53a870edb HHH-15256 HQL Query with left join throws NPE when using :param IS NULL 2022-05-16 15:39:18 +02:00
Andrea Boriero
b7d9f4eaa1 HHH-15256 Add test for issue 2022-05-16 15:39:11 +02:00
Nathan Xu
f0088cbbbc HHH-15255 fix org.hibernate.orm.test.batch.BatchTest 2022-05-16 13:10:05 +02:00
Sven Strickroth
0875d7fcc1 [HHH-15259] Explicitly add JavaDoc to make @deprecated hint visible in Eclipse
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2022-05-16 13:09:54 +02:00
Francesco Marino
bb37bae307 HHH-15134 Update a bytecode enanchhed Entity with a Version attribute causes OptimisticLockException 2022-05-16 13:09:33 +02:00
Sanne Grinovero
f1c1806bdc HHH-15274 Field LazyAttributeLoadingInterceptor#lazyFields can never be null 2022-05-16 13:09:33 +02:00
Sanne Grinovero
a3fa9d8cf9 HHH-15274 Optimise LazyAttributeLoadingInterceptor's routines to identify lazy fields 2022-05-16 13:09:33 +02:00
Andrea Boriero
22073e125a HHH-15269 Update NativeQuery unable to use h-schema placeholder, just emits placeholder contents into SQL 2022-05-16 11:04:52 +02:00
Andrea Boriero
0af0cd7be8 HHH-15269 Add test for issue 2022-05-16 11:04:44 +02:00
Nathan Xu
f0e0d10130 HHH-15263 - @NamedQuery is not supported with UPDATE statement 2022-05-13 14:23:05 +02:00
Christian Beikov
9b2503896f HHH-15267 Make ParameterBindingsMemento extend Serializable so that cache keys can be serialized 2022-05-13 13:41:16 +02:00
Christian Beikov
22d018fb8a HHH-15266 Fix NPE during function logging due to wrong character_length alternative key registration 2022-05-13 13:41:09 +02:00
Yoann Rodière
a2b6e6df19 HHH-15265 Take default catalog/schema into account when generating DDL comments 2022-05-13 13:29:42 +02:00
Yoann Rodière
d0fedca1a8 HHH-15265 Test that default catalog/schema are taken into account in generated DDL comments 2022-05-13 13:29:42 +02:00
Yoann Rodière
1fbe8dd831 HHH-15270 Fix inconsistent precedence of orm.xml implicit catalog over "default_catalog" in XML-mapped entities 2022-05-13 13:29:42 +02:00
Yoann Rodière
2a31805981 HHH-15270 Test default catalog/schema with hbm.xml/orm.xml mapping when catalog/schema not specified at file level 2022-05-13 13:29:42 +02:00
Steve Ebersole
8494be4fe4 Javadoc 2022-05-12 12:27:57 +02:00
Andrea Boriero
29848043b6 HHH-15229 Query returns null for broken foreign key reference and NotFoundAction.EXCEPTION 2022-05-05 16:28:32 +02:00
Andrea Boriero
0ce120a344 HHH-15229 Add test for issue 2022-05-05 16:28:32 +02:00
Ptits de Barbe
19f6959519 HHH-4384 Allow join column override if @JoinColumn is absent on @OneToOne(mappedBy = "").
Tests: this case and disallow if mappedBy > "".
2022-05-05 16:03:11 +02:00
Nathan Xu
d998d6fb48 HHH-15241 fix broken references in javadoc 2022-05-05 16:01:55 +02:00
Nathan Xu
691ee7bf5d HHH-15246 fix NPE when null value is set to Enum in query 2022-05-05 13:42:51 +02:00
Christian Beikov
a961ba45ac Add documentation for CompositeUserType 2022-05-05 09:18:19 +02:00
Christian Beikov
c18e611ed6 HHH-15200 Add support for the SQLXML type 2022-05-05 09:07:37 +02:00
Christian Beikov
51c40cd6a1 HHH-15165 Add support for SQL geography type 2022-05-04 16:55:15 +02:00
Nathan Xu
64c39691ff HHH-15211 fix embeddable basic attribute converter hash code bug 2022-05-04 10:12:40 +02:00