Commit Graph

6518 Commits

Author SHA1 Message Date
Steve Ebersole 6a988dd6fa HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking
(cherry picked from commit 20ebd8f5ca)
2015-12-16 13:52:04 -06:00
Scott Marlow 5ad33c7eb5 HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking
(cherry picked from commit 0c358d80f6)
2015-12-16 13:51:51 -06:00
Torsten Schöne 975de86017 HHH-10353 Interceptor.afterTransactionBegin() is not fired
(cherry picked from commit fe48897692)
2015-12-16 12:38:44 -06:00
Galder Zamarreño 52f123fd12 HHH-10344 Make transactional invalidation backwards compatible
(cherry picked from commit 05aaeb1963)
2015-12-16 12:16:44 -06:00
Karl von Randow e6d211466e HHH-10286 SessionFactoryImpl doesn't cache and reuse existing collection cache region access strategies
(cherry picked from commit 828a83dcbf)
2015-12-16 12:09:47 -06:00
Eskil Bylund 7975dead95 Fix missing parenthesis around composite properties in WHERE clauses
The currentClauseType field would not be correct if the query contained a
subquery.

Signed-off-by: Andrea Boriero <andrea@hibernate.org>
2015-12-16 11:18:18 +00:00
Gail Badner 986b2b65ad HHH-10349 : PersistenceUtilHelper should call getDeclaredField/Method inside of privileged block 2015-12-15 22:22:18 -08:00
Sanne Grinovero 62fd52ad59 HHH-10379 Remove dependency to rhq-pluginAnnotations 2015-12-15 16:54:23 +00:00
Andrea Boriero f344a6d290 HHH-10298 - Add new configuration type hibernate.hbm2dll.extra_physical_table_types 2015-12-15 16:50:33 +00:00
Andrea Boriero 749e69aee7 HHH-10298 - Add test 2015-12-15 16:50:20 +00:00
Andrea Boriero b48b159c69 HHH-10364 - Fix HSQL does not support Nationalized annotation 2015-12-15 16:02:48 +00:00
Andrea Boriero fc90e6809d HHH-10364 - Add test for issue 2015-12-15 16:02:41 +00:00
Andrea Boriero 7f1bf8f3f7 HHH-10371 - LocalDate value changes after fetching the row from the database 2015-12-14 22:22:14 +00:00
Andrea Boriero 501f1948a2 HHH-10371 - Add tests for issue 2015-12-14 22:22:02 +00:00
Gail Badner 7af83f02ae HHH-9764 : StaleObjectStateExceptions raising outside flush context
(cherry picked from commit c767b0ed15)
2015-12-14 14:04:17 -08:00
Guenther Demetz 56c1ae332d Testcase for HHH-9764
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/cache/CollectionCacheEvictionTest.java

(cherry picked from commit 840d906cea)
2015-12-14 13:49:42 -08:00
Ståle W. Pedersen a9e482bce0 HHH-10366 Check for trace logging before calling log method and unused method parameters 2015-12-14 17:43:13 +00:00
Sanne Grinovero 90ac42fa2c HHH-10358 Make sure synchronization on AbstractLoadPlanBasedLoader is skipped when the guarded feature is disabled 2015-12-14 16:26:52 +00:00
Gail Badner 971783607e HHH-10369 : Unit test failure because Sybase trims trailing spaces 2015-12-08 18:28:35 -08:00
Gail Badner 0582dc1e8e HHH-10368 : Unit test failure because Sybase does not support binding an untyped null object 2015-12-08 17:09:22 -08:00
Gail Badner 60625b19b2 HHH-10367 : Fix more DB reserved words used by tests 2015-12-08 16:43:09 -08:00
Andrea Boriero e42ca85e9d HHH-10366 - Fix checkstyle error 2015-12-08 18:14:19 +00:00
Ståle W. Pedersen 3f6cc8f8c5 HHH-10366 Improve performance and reduce CPU load when fetching reference cached objects
Removed a call to postLoad and afterInitialize for reference cached entities;
refactor methods, made some private, some final
try to optimize cached result
refactor out getPersister so it can be inlined
2015-12-08 16:53:28 +00:00
Andrea Boriero fcd355f608 HHH-10331 - Fix HSQLDialect returns supportsTupleDistinctCounts false which seems wrong 2015-12-08 11:08:24 +00:00
Bobo Häggström cac8b0d8c5 HHH-10343 Fixed precision and scale for elements of basic types in persistent collections 2015-12-07 10:27:41 +00:00
Koen Aers 3d92590eb3 HHH-10158: SchemaUpdate does not properly support formatter and delimiter anymore 2015-12-05 19:42:56 +00:00
Koen Aers 3229bbd883 HHH-10223: Element 'query-param' in *.hbm.xml files causes ClassCastException 2015-12-03 15:16:38 +00:00
Andrea Boriero 8bfaaea4b6 HHH-1122 - Fix hbm2ddl.SchemaUpdate has no delimiter 2015-12-03 10:30:10 +00:00
Andrea Boriero bf892ef354 HHH-1122 - Add test for issue 2015-12-03 10:30:03 +00:00
Steve Ebersole a5089e813b 5.0.5 2015-12-02 22:59:26 -06:00
Steve Ebersole 47b0f6be12 5.0.5 2015-12-02 22:28:19 -06:00
Gail Badner 9858d29b56 HHH-10296 : Fix more DB reserved words used by tests 2015-12-02 16:32:45 -08:00
Gail Badner 2030aa70ee HHH-10323 : Unit test failure on Oracle because constructor cannot be found
(cherry picked from commit c3ffe16ff0)
2015-12-02 15:00:04 -08:00
Andrea Boriero 05f86e43f6 Changed back build version to 5.0.5.SNAPSHOT, release postponed 2015-12-02 19:04:15 +00:00
Andrea Boriero 41dafa87c0 5.0.5 release 2015-12-02 18:03:52 +00:00
Andrea Boriero 46c6690e19 5.0.5 release 2015-12-02 18:00:08 +00:00
Andrea Boriero 087d51d505 HHH-10291 - Fix Partially generated composite attribute is not retrieved after insert 2015-12-02 16:45:45 +00:00
Karel Maesen d3b4ae74aa HHH-10157 - Postgis deserializer accepts EWKT
Backport of fix to 5.0 branch.
2015-12-01 23:02:23 +01:00
Steve Ebersole 052aad0ed4 HHH-10313 - Make SessionImplementor extend WrapperOptions 2015-11-30 11:13:58 -06:00
Andrea Boriero 59a5a88dbd HHH-9343 - Case/when in criteria with string literal result fails type checking 2015-11-27 16:37:06 +00:00
Andrea Boriero c040cb6718 HHH-9343 - Add test fro issue 2015-11-27 16:36:52 +00:00
Galder Zamarreño 5373114bc7 HHH-10306 Add missing license header 2015-11-27 13:25:16 +01:00
Galder Zamarreño c4d5e3b950 HHH-10306 Plug Externalizers via module initializer 2015-11-27 10:04:58 +01:00
Andrea Boriero 603059b640 HHH-10302 - checkstyle fix 2015-11-26 17:35:06 +00:00
Sanne Grinovero c8b68f5883 HHH-10302 Extract helper method for LoadEvent reuse and adapt code formatting to Hibernate style 2015-11-26 16:23:32 +00:00
Stuart Douglas a761705e1d HHH-10302 Cache the LoadEvent and PostLoadEvent to reduce allocations 2015-11-26 16:23:25 +00:00
Stuart Douglas 6777977df0 HHH-10301 Don't allocate a new List if it is not required 2015-11-26 15:27:23 +00:00
Andrea Boriero a4b74e23cc HHH-10321 - HHH-9866 is alive; Wrong join table column names generation with globally_quoted_identifiers 2015-11-26 15:06:20 +00:00
Radim Vansa cc61914f0f HHH-10185 In nonstrict-read-write mode the remove may be not applied 2015-11-26 15:06:11 +01:00
Andrea Boriero 9a9fb43ca5 HHH-9302 - SQLGrammarException with @DiscriminatorColumn in an inheritance hierarchy 2015-11-26 13:36:59 +00:00