Commit Graph

13733 Commits

Author SHA1 Message Date
Christian Beikov de21820f84 HHH-13135 Use FOR NO KEY UPDATE when locking in PostgreSQL 2022-03-25 20:53:25 +01:00
Christian Beikov f048ea8205 Introduce a special TimeZoneStorageType#NORMALIZE_UTC variant 2022-03-25 20:53:05 +01:00
Christian Beikov f2aa533dfc Switch back to numeric(21) with nanosecond resolution as fallback for mapping Duration to retain backwards compatibility 2022-03-25 20:20:28 +01:00
Christian Beikov 6801ff0f26 Introduce option to configure how to store java.time.Duration 2022-03-25 20:20:28 +01:00
Christian Beikov 7020a1a563 Make sure timestampdiff returns a double for the SECOND unit as per JPA 3.1 2022-03-25 20:20:28 +01:00
Christian Beikov b84a6e3a7f Avoid running the pipeline on branch indexing 2022-03-25 15:36:38 +01:00
Christian Beikov 5a2f92588c Do not reuse join that is treat joined 2022-03-25 15:27:14 +01:00
Andrea Boriero 99ed18c228 Add additional tests 2022-03-25 13:46:12 +01:00
Andrea Boriero 1a1a6c22f1 Fix @ForeignKeyey(ConstraintMode.NO_CONSTRAINT) throwing EntityNotFoundException 2022-03-25 13:46:12 +01:00
Steve Ebersole 33a7133695 HHH-15139 - Improvements for QueryInterpretationCache
- improvements to SqmInterpretationsKey
- improvements to AbstractFetchParent
2022-03-25 07:16:33 -05:00
Christian Beikov 6fd8034ec5 Use string based storage as fallback for JSON 2022-03-24 21:29:37 +01:00
Christian Beikov ad806ffc83 Fix compile error 2022-03-24 21:23:00 +01:00
Christian Beikov ce298a1566 Make use of type variable for a few CompositeUserType methods 2022-03-24 09:29:45 +01:00
Christian Beikov 4b48dd31f6 Get rid of MVCC JDBC connection parameter 2022-03-24 09:15:11 +01:00
Sanne Grinovero bee5bae7b6 HHH-15138 Further simplify BoundedConcurrentHashMap by removing support for NONE eviction 2022-03-23 18:22:42 +00:00
Sanne Grinovero 04bfdd49ab HHH-15138 Style and formatting fixes in BoundedConcurrentHashMap 2022-03-23 18:22:42 +00:00
Sanne Grinovero 1d1a142345 HHH-15138 Remove support for Eviction Listeners in BoundedConcurrentHashMap 2022-03-23 18:22:42 +00:00
Andrea Boriero b0f8d6a394 Update migration-guide.adoc 2022-03-23 18:21:09 +01:00
Andrea Boriero 6b3bf34a01 Update migration-guide.adoc
Co-authored-by: Steve Ebersole <steve@hibernate.org>
2022-03-23 18:21:09 +01:00
Andrea Boriero ca8f151d78 Improve migration guide query result cache section 2022-03-23 18:21:09 +01:00
Andrea Boriero 58aa445b0b Add query result cache changes to migration guide 2022-03-23 18:21:09 +01:00
Andrea Boriero 52d15cf769 Re-enabled additional tests 2022-03-23 18:21:09 +01:00
Steve Ebersole cc02b926fb HHH-15139 - Improvements for QueryInterpretationCache
- improvements to SqmInterpretationsKey
2022-03-23 11:32:13 -05:00
Christian Beikov 75a8ad1851 HHH-15135 Respect precision in temporal version types when generating timestamps 2022-03-23 16:20:18 +01:00
Steve Ebersole 8470d6db5b HHH-15132 - Improvements for NavigablePath
- additional refactoring of uses of `NavigablePath#getFullPath`
2022-03-22 21:26:41 -05:00
Steve Ebersole e496ec45ea HHH-15132 - Improvements for NavigablePath
- dropped `NavigablePath#fullPath` field - `#getFullPath` is now "(re)built" on demand
- adjust uses of `NavigablePath#getFullPath`
- refactor `NavigablePath` constructors
2022-03-22 21:26:41 -05:00
Steve Ebersole f474449e7d HHH-15132 - Improvements for NavigablePath
Begin breaking down "full path"
2022-03-22 21:26:41 -05:00
Scott Marlow 73153be99d remove spaces from hibernate.connection.datasource, hibernate.connection.pool_size, hibernate.connection.isolation
Signed-off-by: Scott Marlow <smarlow@redhat.com>
2022-03-22 14:55:36 -05:00
Steve Ebersole d276075ade HHH-15132 - Improvements for NavigablePath
Package move;
@Incubating
2022-03-21 02:53:56 -05:00
Christian Beikov fcb3664b08 Add some javadocs to TableGroupJoinProducer 2022-03-18 16:24:44 +01:00
Christian Beikov 2894f84d6e HHH-14487 Fix usage of wrong Map in PropertyAccessStrategyMapImpl 2022-03-18 15:22:45 +01:00
CHAPEL Guillaume c57d394445 HHH-15118 Fix duplicate ids with PooledOptimizer when sequence value is initialValue 2022-03-18 10:27:06 +01:00
Andrea Boriero e0e6050ba1 HHH-15117 ConstraintViolationException is thrown using same @SecondaryTable on two entities 2022-03-17 18:34:30 +01:00
Andrea Boriero 42e44f392b HHH-15117 Add test for issue 2022-03-17 18:34:30 +01:00
Christian Beikov 669d23319d Show an issue with BasicFormatterImpl 2022-03-17 18:34:21 +01:00
Benedikt Waldvogel 41741fb79c HHH-15065: Test that SQL statements are deterministic when using entity graphs 2022-03-17 18:33:34 +01:00
Andrea Boriero 3d39936728 HHH-15091 EntityManager.persist does not verify the existence of the one side of a many-to-one relationship 2022-03-17 17:35:50 +01:00
Andrea Boriero 2618a78f43 HHH-15091 Add test for issue 2022-03-17 17:35:50 +01:00
Christian Beikov 94f450aa7a HHH-15131 Fix JPA Compliance issue with Envers 2022-03-17 17:33:56 +01:00
Andrea Boriero cb3690466f HHH-15098 Incorrect behavior when updating managed oneToMany collection on entity with naturalId 2022-03-17 17:33:00 +01:00
Andrea Boriero c35f495a7b HHH-15098 Add test for issue 2022-03-17 17:33:00 +01:00
Andrea Boriero 1d67993173 HHH-15111 MappingException is thrown for @JoinColumn with referencedColumnName on a @SecondaryTable 2022-03-17 17:28:55 +01:00
Andrea Boriero cd78676608 HHH-15115 Fix PostgreSQL SqmMultiTableMutationStrategy 2022-03-17 12:11:02 +01:00
Sanne Grinovero 6169a60ecd Always guard for Log level before producing log message parameters 2022-03-16 22:09:32 +00:00
Steve Ebersole 6ab1cd3434 fix problem with release.gradle 2022-03-16 11:36:11 -05:00
Christian Beikov 2184a39dcf Temporarily disable a test for Oracle due to a bug in BasicFormatterImpl 2022-03-16 16:54:35 +01:00
Christian Beikov d17a6fbf85 Fix NPE with collection filter predicates when joins have no group alias 2022-03-16 16:54:35 +01:00
Christian Beikov 8cf0265f8d Make sure root virtual table group joins are rendered properly 2022-03-16 16:54:34 +01:00
Christian Beikov b227475489 Make sure the discriminator path uses the correct table group 2022-03-16 16:54:34 +01:00
Christian Beikov 20564a5547 Make sure DML updates do inserts into secondary tables when necessary 2022-03-16 16:54:34 +01:00