Commit Graph

2771 Commits

Author SHA1 Message Date
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
Gail Badner 9858d29b56 HHH-10296 : Fix more DB reserved words used by tests 2015-12-02 16:32:45 -08:00
Andrea Boriero 087d51d505 HHH-10291 - Fix Partially generated composite attribute is not retrieved after insert 2015-12-02 16:45:45 +00:00
Steve Ebersole 052aad0ed4 HHH-10313 - Make SessionImplementor extend WrapperOptions 2015-11-30 11:13:58 -06: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
Andrea Boriero 9a9fb43ca5 HHH-9302 - SQLGrammarException with @DiscriminatorColumn in an inheritance hierarchy 2015-11-26 13:36:59 +00:00
Andrea Boriero 331383ccef HHH-9302 - Add test for issue 2015-11-26 13:36:44 +00:00
Stuart Douglas cd2ac94100 HHH-10314 Don't create the batch fetch queue to remove entities, as a null queue cannot contain the entity 2015-11-26 12:30:35 +00:00
Stuart Douglas 6ecb5ca923 HHH-10338 Use an explicit empty object array to prevent the varargs method allocating one 2015-11-26 11:56:13 +00:00
Gail Badner 24ee708de7 HHH-10328 : Unit test failure due to database identifier too long 2015-11-24 20:53:29 -08:00
Gail Badner a2026c3ad0 HHH-10327 : Unit test failures due to date/time precision mismatches 2015-11-24 17:48:59 -08:00
Gail Badner d8f57877f2 HHH-10296 : Fix more DB reserved words used by tests 2015-11-24 14:17:00 -08:00
Gail Badner ae91c8722a HHH-10296 : Fix more DB reserved words used by tests 2015-11-24 13:57:43 -08:00
Gail Badner 34dd9d186b HHH-10327 : Unit test failure on Oracle due to DATE mismatches 2015-11-24 13:52:48 -08:00
Gail Badner 8de9ca0549 HHH-10325 : Test failure on MySQL and MariaDB because they do not allow casting as float type 2015-11-23 23:30:04 -08:00
Gail Badner 377ba9a8c0 HHH-10322 : Test failures due to function name differences by dialect 2015-11-23 17:17:42 -08:00
Gail Badner cd581f8dfd HHH-10320 : Unit test failures due to feature tested that is not supported by database 2015-11-23 12:14:46 -08:00
Gail Badner cfbc0036f0 HHH-10296 : Fix more DB reserved words used by tests 2015-11-23 11:50:06 -08:00
Gail Badner 386cd74e64 HHH-10296 : Fix more DB reserved words used by tests
(cherry picked from commit 104635ba1f)
2015-11-20 23:03:31 -08:00
Gail Badner 519ba7175f HHH-10312 : Unit test failures due to DB problems interpreting proper type for null value when bound to a query 2015-11-20 18:55:20 -08:00
Gail Badner 439dab82d0 HHH-10311 : Primary key length used in unit test is too long for DB2 2015-11-20 14:33:57 -08:00
Gail Badner d3de746bd9 HHH-10308 : Don't make deep copy of property with AttributeConverter if Java type is known to be immutable
(cherry picked from commit 780c7c2fb6)
2015-11-20 11:59:59 -08:00
Steve Ebersole f5197a3f04 HHH-10309 - HHH-10242 is too aggressive in cases of FIELD access
(cherry picked from commit 1183a4719d)
2015-11-20 12:51:00 -06:00
Andrea Boriero c7abe770de HHH-10304 - ImplicitCompositeKeyJoinTest#testImplicitCompositeJoin fails due to dialect-specific differences in generated SQL string 2015-11-19 15:52:28 +00:00
Gail Badner 977c3f943f HHH-10296 : Fix more DB reserved words used by tests 2015-11-18 20:49:52 -08:00
Andrea Boriero b421040359 HHH-10275 - Fix Inverse foreign key for many-to-many set is nullable 2015-11-18 17:18:04 +00:00
Steve Ebersole e752a78777 HHH-10289 - CPU performance regression in StatefulPersistenceContext.addEntry() 2015-11-18 08:52:09 -06:00
Gail Badner 3d89a9d118 HHH-10297 : Cache HashMap in AbstractRowReader instead of re-creating for each row that is read
(cherry picked from commit ccc99c690f)
2015-11-17 21:50:29 -08:00
Steve Ebersole fa7a675490 HHH-1689 - Support subqueries in HQL as CASE statement alternatives;
SQM-30 - test

(cherry picked from commit 57401b9aa8)
2015-11-17 19:23:10 -06:00
Steve Ebersole 7633d2fce5 HHH-10289 - CPU performance regression in StatefulPersistenceContext.addEntry() 2015-11-17 11:33:16 -06:00
Ståle W. Pedersen 123103a73f HHH-10289 - CPU performance regression in StatefulPersistenceContext.addEntry()
(cherry picked from commit da4593de1b)
2015-11-17 11:32:25 -06:00
barreiro 189b379c83 HHH-9529 - [enhancer] check that the field being accessed belongs to the entity being enhanced
(cherry picked from commit 1568f89426)
2015-11-17 10:39:58 -06:00