Commit Graph

9756 Commits

Author SHA1 Message Date
Sanne Grinovero 0bf9bb1423 HHH-13549 Fix a couple typos 2019-08-08 15:19:04 +01:00
Sanne Grinovero a1498331aa HHH-13549 Remove dead code from StringHelper 2019-08-08 15:19:04 +01:00
Sanne Grinovero 7dd520d7e4 HHH-13512 Amend: Optimise StringHelper#isQuoted(String, Dialect) 2019-08-07 21:57:21 +01:00
Sanne Grinovero 87907e1edd HHH-13546 Fetch configuration details at initialization of StatisticsImpl 2019-08-07 11:56:33 +01:00
Sanne Grinovero 8460cd8796 HHH-13546 Make the sessionFactory field in StatisticsImpl required 2019-08-07 11:56:30 +01:00
Sanne Grinovero 41cab3bfce HHH-13527 Minimize captured state in lambdas used for Statistics 2019-08-07 09:10:22 +01:00
Sanne Grinovero b07e4b1ba3 HHH-13527 Fix contention in StatisticsImpl#getDomainDataRegionStatistics() 2019-08-07 09:10:22 +01:00
Sanne Grinovero 7cb828f4e7 HHH-13544 Restore logged warning on jdbc code mapping issue in NationalizedTypeMappings 2019-08-06 16:18:21 +01:00
Sanne Grinovero 8c228244de HHH-13541 ExceptionConverter instance in AbstractSharedSessionContract should be lazily initialized 2019-08-05 15:15:41 +01:00
Sanne Grinovero 71fe4229b4 HHH-13133 Review logging usage in the MavenEnhancePlugin 2019-08-05 11:44:24 +01:00
skis ac7d7f4d6f HHH-13133 Changed the log level from info to debug to reduce the amount of logging under non-debug mode 2019-08-05 11:17:11 +01:00
Batbileg Dorj d9e16fe8ca HHH-13249 Introduce an option to Log slow queries instead of all queries 2019-08-05 10:51:09 +01:00
Sanne Grinovero 618d186cb2 HHH-13534 AbstractLoadPlanBasedLoader never needs a List of AfterLoadAction 2019-08-02 15:38:17 +01:00
Sanne Grinovero 343deb982f HHH-13531 Some more opportunities to reuse the constants pool in AliasConstantsHelperMore opportunities to reuse the int_ constant pools 2019-08-02 11:43:59 +01:00
Sanne Grinovero 33532c8998 HHH-13512 Remove some dead code 2019-08-01 15:51:42 +01:00
Sanne Grinovero ca444fc487 HHH-13512 Optimise StringHelper#isQuoted(String, Dialect) 2019-08-01 15:51:42 +01:00
Sanne Grinovero 7f6bf82fed HHH-13512 Avoid allocating an array in org.hibernate.internal.util.StringHelper#unquote(String[], Dialect) if there are no changes to be applied 2019-08-01 15:49:37 +01:00
Sanne Grinovero c35bce15f9 HHH-13521 Avoid excessive validation of enabled filters 2019-07-31 19:36:06 +01:00
Andrea Boriero ae176223b2 HHH-13528 Remove call to resourceRegistry.release(ResultSet resultSet, Statement statement) from AbstractLoadPlanBasedLoader#executeLoad() 2019-07-31 19:03:16 +01:00
Sanne Grinovero edb8093319 HHH-13529 Specifically optimise Dialect retrieval from DefaultEntityAliases 2019-07-31 18:54:08 +01:00
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