9867 Commits

Author SHA1 Message Date
Davide D'Alto
b0b6152d14 HHH-16399 Minor refactoring 2023-03-30 13:08:48 +02:00
Davide D'Alto
d3629eb6fa HHH-16399 Recognize ConstraintViolationException form errorCode in MSSQL
This is for Hibernate Reactive.

Hibernate ORM recognizes the error because, when it comes from the JDBC driver,
 it's an instance of `java.sql.SQLIntegrityConstraintViolationException`.
2023-03-30 13:08:48 +02:00
Marco Belladelli
75ca552e4e HHH-16305 Skip checking JavaObjectType function arguments 2023-03-30 12:33:21 +02:00
Marco Belladelli
4543113e68 HHH-16305 Add test for issue 2023-03-30 12:33:17 +02:00
Andrea Boriero
aafb7cdd45 HHH-16281 Inconsistent Behaivor of L2 cache between Hibernate 5 and 6 2023-03-30 09:41:34 +02:00
Steve Ebersole
f2be305a43 HHH-16391 - Incorrect mutability-plan resolution for converted collection-as-basic mappings 2023-03-29 15:35:17 -05:00
Andrea Boriero
03ee5445f8 HHH-16272 Hibernate 6 fails to refresh when collections are accessed in entity setter method when access type is property 2023-03-29 17:26:59 +02:00
Andrea Boriero
7723b8bf96 HHH-16272 Add test for issue 2023-03-29 17:26:52 +02:00
Marco Belladelli
fe26628cf8 HHH-16390 - Execution of non-batched statements do not force execution of current batch
HHH-16319 - test
2023-03-28 15:14:12 -05:00
Steve Ebersole
91e6ca6fd5 oracle test fix up 2023-03-28 14:16:14 -05:00
Jan Schatteman
a26b19d93d HHH-16386 - Disable batching for dynamic-insert and dynamic-update
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-03-28 07:57:56 -05:00
Marco Belladelli
fff7f341b1 HHH-16380 Avoid metamodel access when instantiating entity instances 2023-03-27 20:56:44 +02:00
Steve Ebersole
8f321f670d HHH-16339 - Unify entity and any discriminator handling 2023-03-27 13:22:21 -05:00
Jan Schatteman
ba9ea8bb1c HHH-16249 - Add test for issue
Disable batching in a stateless session when no transaction is active

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-03-27 18:15:55 +02:00
Marco Belladelli
edc60f1a7a HHH-16274 Fix sorting of DependantValue's properties 2023-03-24 19:06:45 +01:00
Marco Belladelli
77d9763192 HHH-16274 Add test for issue 2023-03-24 19:06:44 +01:00
Andrea Boriero
b6fa9c1295 HHH-16334 Persist and load an entity with an all-delete-orphan collection null 2023-03-24 16:26:46 +01:00
Andrea Boriero
6c9d9666a4 HHH-16334 Add test for issue 2023-03-24 16:26:46 +01:00
Andrea Boriero
71373ebf95 HHH-16281 Inconsistent Behaivor of L2 cache between Hibernate 5 and 6 2023-03-24 16:26:08 +01:00
Andrea Boriero
33fb2a7b03 HHH-16281 Add test for issue 2023-03-24 16:26:08 +01:00
Andrea Boriero
6891d6938e HHH-16337 Bytecode enhancement : ElementCollection is not deleted when replaced 2023-03-24 08:12:43 -05:00
Andrea Boriero
5491bcd5d4 HHH-16097 Move all tests from documentation into hibernate-core 2023-03-24 07:59:56 -05:00
Davide D'Alto
5b2b7b4ab9 HHH-16353 Convert comments to Javadoc for Hibernate Reactive
So they get moved with any refactoring
2023-03-24 11:29:28 +01:00
Davide D'Alto
d63ff31b59 HHH-16353 Make it possible for Hibernate Reactive to override the creation of AttributeMapping and Fetch strategies 2023-03-24 11:29:28 +01:00
Marco Belladelli
837d1a32cb HHH-16248 Check referenced model part declaring type when batch fetching associations 2023-03-24 10:44:00 +01:00
Marco Belladelli
f572f80f6e HHH-16248 Add test for issue 2023-03-24 10:43:55 +01:00
Marco Belladelli
84c41dc4f9 HHH-16355 Fix check for binding inverse many to many foreign key 2023-03-23 12:05:19 +01:00
Marco Belladelli
aa7c67691d HHH-16355 Add test for issue 2023-03-23 12:05:19 +01:00
Christian Beikov
785f6f094f HHH-16317 Don't use InstantAsTimestampWithTimeZoneJdbcType for PG-JDBC and MSSQL due to a bug 2023-03-23 12:00:32 +01:00
Christian Beikov
e8a098ef1d HHH-16287 Consider hibernate.timezone.default_storage for OffsetTime typing and storage 2023-03-23 12:00:32 +01:00
Christian Beikov
c54f71473e HHH-16189 Skip test for H2 1.x due to a H2 issue 2023-03-23 12:00:32 +01:00
Christian Beikov
67ba0decd8 HHH-16311 - Fix HANA test issues 2023-03-23 12:00:31 +01:00
Christian Beikov
d5e0f064ac HHH-16333 Get rid of special Character[] and Byte[] handling 2023-03-23 12:00:31 +01:00
Christian Beikov
fff45e05ea HHH-16280 Fix Jackson XML mapper support for Oracle Array data types 2023-03-22 18:10:27 +01:00
Christian Beikov
bf03ae4a6a HHH-16348 Re-add JdbcOperationQuery#getAppliedParameters for query extensions 2023-03-22 18:10:27 +01:00
Christian Beikov
9e16edb28b HHH-16348 Re-add JdbcOperationQuery#getAppliedParameters for query extensions 2023-03-22 17:32:37 +01:00
Christian Beikov
4b1f56951b HHH-16333 Get rid of special Character[] and Byte[] handling 2023-03-22 17:27:48 +01:00
Christian Beikov
c54e156c14 HHH-16333 Handle converters properly in BasicPluralType 2023-03-22 17:27:48 +01:00
Christian Beikov
f68ea21891 Respect precision for VM generated temporal values 2023-03-22 17:27:47 +01:00
Davide D'Alto
dfa403b8f4
HHH-16346 Relax scopes for TableBased*Handler
So that Hibernate Reactive can create a custom LocalTemporaryTableStrategy
2023-03-21 16:08:43 +01:00
Marco Belladelli
ef42371e6b HHH-16336 Allow same table and subtypes in mappedBy check 2023-03-20 19:17:20 +01:00
Jan Schatteman
cfca8a72a5 HHH-16295 - trivial correction in JdbcUpdateMutation
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-03-17 22:48:49 +01:00
Steve Ebersole
0f549df2bb HHH-15108 - tweak to not ignore exceptions in AggregateClassLoader.findClass() 2023-03-17 14:35:11 -05:00
Jan Schatteman
ed413a0016 HHH-15108 - tweak to not ignore exceptions in AggregateClassLoader.findClass()
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-03-17 14:25:53 -05:00
Marco Belladelli
21d9fe20c0 HHH-16280 Fix JacksonXmlFormatMapper handling of array data types 2023-03-17 14:18:32 -05:00
Steve Ebersole
882e5d7622 HHH-16311 - Migrate away from UserType for enum handling 2023-03-17 13:17:52 -05:00
Andrea Boriero
8ee3be020b HHH-16322 Merge of entities having a collection with orphanRemoval true fails when bytecode enhancement is enabled 2023-03-17 12:23:00 -05:00
Marco Belladelli
7f2a3917f4 HHH-16313 HHH-16313 Check mappedBy type when binding entity associations 2023-03-17 17:59:46 +01:00
Marco Belladelli
d0aff04fc6 HHH-16313 Add test for issue 2023-03-17 17:59:45 +01:00
Andrea Boriero
3f5d94baea HHH-16015 Merge operation throws a NPE: Cannot invoke org.hibernate.property.access.spi.Setter.set(Object, Object) when using CompositeUserType 2023-03-17 17:31:32 +01:00