Commit Graph

9736 Commits

Author SHA1 Message Date
Sanne Grinovero 6e373f2e17 HHH-13529 Dot not access hot JdbcServices over ServiceRegistry 2019-07-31 18:54:08 +01:00
Sanne Grinovero 2c304a5e18 HHH-13528 Invoke afterStatements only at the end of releasing all statements for a batch 2019-07-31 12:19:23 +01:00
Sanne Grinovero 51c94121cb HHH-13526 Avoid repeated lookups for the same component 2019-07-31 12:19:23 +01:00
Sanne Grinovero 68b1b650e9 HHH-13526 Optimise HashMap lookup operations on ResourceRegistryStandardImpl xref 2019-07-31 12:19:23 +01:00
Gail Badner 7d54b59743 HHH-13466 : ClassCastException when changing a Collection association to a Set if @PreUpdate listener exists 2019-07-30 11:53:07 -07:00
Gail Badner 80828eba43 HHH-13466 : Test cases 2019-07-30 11:53:07 -07:00
Sanne Grinovero 429cdeff06 HHH-13522 Optimise LoadQueryInfluencers by making maps lazily initialized 2019-07-30 15:34:53 +01:00
Sanne Grinovero d6abbe5124 HHH-13525 Make test SessionDelegatorBaseImplTest more resilient to previously existing alias definition 2019-07-30 12:09:11 +01:00
Sanne Grinovero 8ee9b7e218 HHH-13524 Remove unused fields xref,unassociatedResultSets from JdbcCoordinatorImpl 2019-07-30 11:47:43 +01:00
Sanne Grinovero 904ed10eaf HHH-13523 Remove an additional field from JdbcCoordinatorImpl 2019-07-30 11:39:34 +01:00
Andrea Boriero c0c6e10272 HHH-13523 StatementPreparerImpl should not need to retrieve the JDBCService as often 2019-07-30 11:39:29 +01:00
Andrea Boriero 83e2f68477 5.4.4.Final 2019-07-30 09:02:51 +01:00
Gail Badner 77155ea716 5.4.4.Final 2019-07-29 14:56:14 -07:00
Sanne Grinovero 3483d7c022 HHH-13520 Deprecate mutators on SqlStatementLogger 2019-07-29 21:50:48 +01:00
Yoann Rodière 0387090bba HHH-13379 Test storage of java.time type representing an instant near the end of DST 2019-07-29 12:55:19 -07:00
Yoann Rodière 89d304a00e HHH-13379 Do not change the instant when storing a java.time type representing an instant at DST end in the default JVM timezone
Note problems can still occur in the JDBC driver if the JDBC timezone is
not forced to GMT/UTC.
2019-07-29 12:55:19 -07:00
Yoann Rodière de8e965cc8 HHH-13379 Enhance date/time tests to allow testing certain values only when forcing the JDBC timezone 2019-07-29 12:55:19 -07:00
Andrea Boriero 65fa9cb1e7 HHH-13514 - Calling the wrong method inside SessionDelegatorBaseImpl#createStoredProcedureQuery 2019-07-27 12:36:35 +01:00
Andrea Boriero 7eaf4904d8 HHH-13514 - Add test for issue 2019-07-27 12:36:35 +01:00
Gail Badner 618f03565a HHH-13504 : Upgrade ByteBuddy to 1.9.11 2019-07-26 15:14:12 +01:00
Sanne Grinovero 1da6bb6995 HHH-13508 Reuse alias names generated by BasicLoader#generateSuffixes 2019-07-25 13:06:25 +01:00
Sanne Grinovero ed8c72871b HHH-13513 Only intern fields of DefaultEntityAliases when the object is not short lived 2019-07-25 13:06:25 +01:00
Sanne Grinovero bfe5f235c1 HHH-13513 Do not intern sql aliases in QueryLoader and BasicLoader 2019-07-25 13:06:25 +01:00
Sanne Grinovero a199f77b83 HHH-13511 Remove interning of aliases in org.hibernate.loader.DefaultEntityAliases 2019-07-25 10:23:02 +01:00
Sanne Grinovero d7a0ffe519 HHH-13496 Some more formatting fixes 2019-07-25 09:57:25 +01:00
Sanne Grinovero a2c6b82ada HHH-13496 Remove more dead code from Ejb3JoinColumn 2019-07-25 09:57:25 +01:00
Sanne Grinovero a2aee7917b HHH-13496 Remove some more dead code from TableBinder 2019-07-25 09:57:25 +01:00
Gail Badner d5ea37d779 HHH-13492 : OptimisticLockException after locking, refreshing, and updating an entity 2019-07-24 14:42:07 -07:00
Gail Badner f59fe419a5 HHH-13492 : test cases 2019-07-24 14:42:07 -07:00
Yoann Rodière 0f4c7ec0f2 HHH-13357 Fix OffsetDateTime ending up with a different offset than the JVM default when loading from a Timestamp
This bug only affects users that override the type descriptor for
OffsetDateTime, and only affects reading.

Since I had to change how we extract the local time from the timestamp,
I also took this opportunity to apply the fix for HHH-13266,
which should make data loading more resilient when databases contain
weird values representing time, like 1650-04-15T14:45:49 or
0000-00-00T14:45:49.
2019-07-24 12:43:29 -07:00
Gail Badner 352b029404 Revert "HHH-13266 HHH-13357 : Skip OffsetTimeTest#nativeWriteThenRead and #writeThenRead in some cases due to HHH-13357"
This reverts commit b7b8f44298.
2019-07-24 12:43:29 -07:00
Gail Badner 18f9c142e3 HHH-13424 : Table nullability should not depend on JpaCompliance.isJpaCacheComplianceEnabled() 2019-07-23 12:03:46 -07:00
Gail Badner ea761ec439 HHH-13424 : test cases 2019-07-23 12:03:46 -07:00
Esteban Gehring be0ef0291c Update identifiers.adoc 2019-07-23 12:16:29 -05:00
Chris Cranford 14f7b49b79 HHH-13500 Fix audit strategy sub-query return incorrect results
In order to maintain backward compatibility with long-standing behavior,
this introduces a new configuration option which can be toggled to have
AuditReader#find implementations adhere to returning an exact match on
revision-number rather than one which is less-than or equal-to the
provided argument.

So a new configuration option org.hibernate.envers.find_by_revision_exact_match
provides users with the ability to be able to force this new behavior
while allowing legacy behavior to remain the default.
2019-07-22 16:34:19 -04:00
Gail Badner fa2f03593a HHH-11032 : performance improvements of PersistentBag.equalsSnapshot 2019-07-22 18:38:04 +01:00
Gail Badner f096445ccc HHH-11032 performance improvements of PersistentBag.equalsSnapshot 2019-07-22 18:38:04 +01:00
Filip Nguyen 4c2a43b86f HHH-11032 performance improvements of PersistentBag.equalsSnapshot 2019-07-22 18:38:04 +01:00
Scott Marlow c581dba4d7 HHH-13505 : NullPointerException thrown by StatisticsImpl#getCacheRegionStatistics 2019-07-22 10:29:18 -07:00
Sanne Grinovero 09cc94c4d9 HHH-13496 Some missing 'final' modifiers on constants 2019-07-16 09:10:24 +01:00
Sanne Grinovero f042f8b553 HHH-13496 Formula using unsafe concurrent initialization of its unique identifier 2019-07-16 09:10:24 +01:00
Sanne Grinovero a76c04783e HHH-13496 Dubious putIfAbsent usages 2019-07-16 09:10:24 +01:00
Sanne Grinovero fb0da1640b HHH-13496 Shouldn't use the String constructor 2019-07-16 09:10:24 +01:00
Sanne Grinovero f2215dab47 HHH-13496 Excessive relyiance on auto-boxing 2019-07-16 09:10:24 +01:00
Sanne Grinovero 433a7904c1 HHH-13496 Loop optimisations 2019-07-16 09:10:24 +01:00
Sanne Grinovero b2eaf4e88d HHH-13496 Do not use toString on arrays when formatting error messages 2019-07-16 09:10:24 +01:00
Sanne Grinovero 0cccf74478 HHH-13496 Map sizing optimisations 2019-07-16 09:10:24 +01:00
Sanne Grinovero 3b0d7d67b1 HHH-13496 Remove redundant cases of throws 2019-07-16 09:10:24 +01:00
Sanne Grinovero 70d33e0c6b HHH-13496 Pre-compile and reuse regular expressions 2019-07-16 09:10:24 +01:00
Sanne Grinovero bfc66ec356 HHH-13496 Constants not declared static 2019-07-16 09:10:24 +01:00