Commit Graph

5039 Commits

Author SHA1 Message Date
Jonathan Bregler 6841012f78 HHH-13553 Fix test failures on SAP HANA
- Skip org.hibernate.test.annotations.query.QueryAndSQLTest.testNativeQueryWithFormulaAttributeWithoutAlias
- Update HANA JDBC driver to fix org.hibernate.test.type.LocalDateTimeTest
2019-08-09 17:58:17 +01:00
Sanne Grinovero 1d4d018dfa HHH-13552 Avoid retrieving the same Persister twice 2019-08-09 17:38:47 +01:00
Sanne Grinovero 80f8f0845c HHH-13552 Store the Collection Persister in a field of CollectionType 2019-08-09 17:38:36 +01:00
Gail Badner 6510c34e93 HHH-13550 : Fix Oracle failure for test added by HHH-13424 2019-08-08 22:34:09 -07:00
Sanne Grinovero 9b3c9e6f0f HHH-13548 Since SessionOwner is deprecated several fields in SessionImpl can be removed 2019-08-08 15:27:19 +01:00
Sanne Grinovero 0028c850b9 HHH-13549 StringHelper: use char rather than string when possible 2019-08-08 15:19:04 +01:00
Sanne Grinovero 85d4ffda14 HHH-13549 Simplify StringHelper#isQuoted 2019-08-08 15:19:04 +01:00
Sanne Grinovero de8d6d095f HHH-13549 StringHelper: Prefer generics over casting 2019-08-08 15:19:04 +01:00
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
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
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
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