8368 Commits

Author SHA1 Message Date
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
Nathan Xu
1946aea068 HHH-15211 add testing case 2022-05-04 10:12:40 +02:00
Andrea Boriero
6a778a321a HHH-15240 Defining a UserVersionType causes AssertionError from VersionResolution if running in JVM with -ea flag set 2022-05-04 09:09:04 +02:00
Andrea Boriero
6b02554c82 HHH-15240 Add test for issue 2022-05-04 09:09:04 +02:00
Andrea Boriero
5f0c215d6d HHH-14843 Add test for issue 2022-05-03 09:56:48 +02:00
Nathan Xu
b469c73d1e HHH-15232 fix a bug when empty entity collection is provided for a query parameter 2022-05-02 10:13:15 +02:00
Steve Ebersole
e2258b3232 HHH-15150 - EmbeddedId CacheKeys are no longer Serializable 2022-04-29 15:16:50 -05:00
Andrea Boriero
6c5870ee0b HHH-15150 EmbeddedId CacheKeys are no longer Serializable 2022-04-29 15:16:50 -05:00
William Burns
1194e7f23b HHH-15150 Add test for issue 2022-04-29 15:16:50 -05:00
Andrea Boriero
5d0fc0f488 HHH-15233 Query NPE when using ':param IS NULL' and the parameter is an Entity 2022-04-29 13:50:08 -05:00
Andrea Boriero
d4f03109c8 HHH-15233 Add test for issue 2022-04-29 13:50:08 -05:00
Steve Ebersole
5c12f7a951 HHH-15201 - Composite ID with dynamic-map entities fails with an exception 2022-04-29 13:39:49 -05:00
Andrea Boriero
aa6bb1481c HHH-15201 Composite ID with dynamic-map entities fails with an exception 2022-04-29 17:48:53 +02:00
Andrea Boriero
03410ac24e HHH-15201 Add test for issue 2022-04-29 17:47:26 +02:00
Nathan Xu
a2e39a1757 HHH-15220 Fix typos 2022-04-29 13:49:08 +01:00
Nathan Xu
502c6610e2 HHH-15221 Fix a logging error in JdbcValuesCacheHit.java 2022-04-29 12:26:40 +01:00
Yoann Rodière
a057a045d4 HHH-15212 Test placeholders in auxiliary object SQL strings 2022-04-28 08:46:54 +02:00
Yoann Rodière
d28e300013 HHH-15212 Fix SimpleAuxiliaryDatabaseObject ignoring the default catalog/schema set through configuration properties 2022-04-28 08:46:54 +02:00
Steve Ebersole
9e9a8135dc HHH-15206 - Upgrade to ANTLR 4.10 2022-04-27 06:44:57 -05:00
Steve Ebersole
69e57404c6 HHH-15226 - Publish a Gradle platform (Maven Bom++) for Hibernate ORM
- plus use Gradle version catalogs as opposed to `libraries.gradle`
- dropped OSGi manifest entries for hibernate-envers - they were broken and we decided we no longer support OSGi
2022-04-26 14:41:04 -05:00
Andrea Boriero
5b85321bb9 HHH-15225 Jta transactions, name queries with errors throw IllegalStateException instead of IllegalArgumentException when transaction is not active 2022-04-26 14:57:48 +02:00
Andrea Boriero
ae51ae9c31 HHH-15225 Add test for issue 2022-04-26 14:57:48 +02:00
Andrea Boriero
0592e1be77 HHH-15142 add test for issue 2022-04-26 14:00:52 +02:00
Andrea Boriero
c58cd979d1 HHH-15223 Embeddables in the Query Result, the embeddable instance returned by the query will not be in the managed state 2022-04-26 10:56:59 +02:00
Andrea Boriero
c0df74f0f3 HHH-15223 Add test for issue 2022-04-26 10:56:59 +02:00
Loïc LEFEVRE
d83128ee85 HHH-15210 Increase Oracle Dialect MaxIdentifierLength to 128 for 12.2+ 2022-04-25 09:58:14 +02:00
Sanne Grinovero
46b3c10d8f HHH-15219 Re-introduce the ability to stop and then reactivate a ServiceRegistry 2022-04-23 22:18:46 +01:00
Sanne Grinovero
8dcbed8d45 HHH-15222 Introduce a SessionLazyDelegator SPI 2022-04-23 22:17:37 +01:00
Yoann Rodière
f904cb343b HHH-15141 Test bytecode enhancement on cross-package inheritance tree with protected @Embedded field 2022-04-13 09:35:10 +01:00