Commit Graph

6413 Commits

Author SHA1 Message Date
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
Steve Ebersole 9958312d9d 5.0.4 release 2015-11-18 13:03:14 -06:00
Steve Ebersole a6a96cc5bf 5.0.4 release 2015-11-18 12:21:46 -06:00
Steve Ebersole 148060418b 5.0.4 release 2015-11-18 12:18:33 -06:00
Radim Vansa 33962a012e HHH-10272 Make pending-puts cache template configurable 2015-11-18 11:43:26 -06: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
Steve Ebersole 682c0642e2 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive)
(cherry picked from commit 4793ca30a2)
2015-11-17 10:24:08 -06:00
Gail Badner d3d88cfa67 HHH-10161 : Hibernate ignores return value from javax.persistence.Parameter#getParameterType()
(cherry picked from commit b4dbb90f17)
2015-11-16 22:46:47 -06:00
Selaron 0280fe6d2a HHH-10181 - CacheableFileXmlSource.doBind uses obsolete .bin file
Check for obsolete cache file during runtime of doBind(..) instead of
CacheableFileXmlSource instantiation only. Subsequent calls of doBind on
a given CacheableFileXmlSource instance should detect that cache file is
fresh and make use of it.

(cherry picked from commit b1e4fc1ae4)
2015-11-16 22:13:09 -06:00
Steve Ebersole fe6e2842fd HHH-9195 - Adding an entity at a given index in a list annotated with OrderColumn adds the entity at the end
(cherry picked from commit 5e87397902)
2015-11-16 22:06:44 -06:00
Gail Badner 642d42dc92 HHH-10273 : Explicitly put column/table names that are DB2 keywords in quotes 2015-11-16 18:10:11 -08:00
Andrea Boriero 5a98ded540 HHH-10288 - Temporary table support is broken using PostgresPlusDialect 2015-11-16 12:19:23 +00:00
Andrea Boriero 0ed5fcfc66 HHH-10293 - Schema Update - Single table Inheritance with bi-directional OneToMany referencing superclass fails 2015-11-15 18:01:10 +00:00
Andrea Boriero ccf7fe2e49 HHH-10293 - Add test for issue 2015-11-15 18:00:59 +00:00
Andrea Boriero 12050ae7e8 HHH-5946 - Tests for not equals operations expecting QuerySyntaxException require dialect does not support row value constructor syntax 2015-11-14 14:35:41 +00:00
Andrea Boriero 5559b596e6 HHH-10274 - org.hibernate.id.SequenceValueExtractor does not work for DB2, Oracle, or SQL Server 2015-11-13 17:31:51 +00:00
Andrea Boriero 7f6d14a612 HHH-10247 - Fix Hibernate ignores foreign-key attribute name in hbm <many-to-many> 2015-11-12 23:16:21 +00:00
Andrea Boriero 310ebdd7ac HHH-10247 - Add test for issue 2015-11-12 23:16:12 +00:00
Andrea Boriero 32e2ce7ac2 HHH-10279 - Fix checkstyle errors 2015-11-12 22:46:36 +00:00
Steve Ebersole 37266f0d82 HHH-10281 - More formally deprecate the legacy bytecode enhancement code
(cherry picked from commit 9872358bed)
2015-11-12 10:48:40 -06:00
Andrea Boriero 1d8463129f HHH-10270 - Hibernate User Guide transactions chapter examples are not properly rendered 2015-11-12 14:28:38 +00:00
barreiro 0145736fe5 HHH-10271 - Add ordinal() method to EventType and change EventListenerRegistryImpl to take advantage of that
(cherry picked from commit 340cee232a)
2015-11-12 08:16:09 -06:00
Stuart Douglas feacc4a3b0 HHH-10279 - Memory usage improvements -
* Don't allocate IdentityMap if it is not needed
* Only allocate unresolved insertions if requied
* Don't create a new string when creating a named query
* Allocate querySpaces lazily
* Remove executableLists from ActionQueue
* Allocate ExecutableList instances lazily
* Lazily allocate the transaction commit task lists
* Don't allocate a new EntityKey

(cherry picked from commit 991ff265da)
2015-11-12 06:52:05 -06:00
Gail Badner 38c355ed42 HHH-10273 : Reserved word used for database object in testsuite
(cherry picked from commit fa7851058c)
2015-11-11 18:15:02 -08:00
John O'Hara fc077401e7 HHH-10259 : ForUpdateFragment.toFragmentString() does not check if aliases are defined when lockOptions are not null 2015-11-11 16:33:14 -08:00
Steve Ebersole 60e8f8cfe4 HHH-10264 - hibernate.cache.auto_evict_collection_cache problems;
HHH-9140 - Error in CollectionCacheInvalidator when hibernate.cache.auto_evict_collection_cache is enabled

(cherry picked from commit 1d5b0779d6)
2015-11-10 09:15:12 -06:00
Janario Oliveira 6dbb3a8f57 HHH-10264 - Values weren't cached after persist
HHH-9140 - Allow to look for id outside of context
ERROR CollectionCacheInvalidator:145 - org.hibernate.TransientObjectException: The instance was not associated with this session
	at org.hibernate.internal.SessionImpl.getIdentifier(SessionImpl.java:1511)
(cherry picked from commit f0d8fcd)

Added property to propagate error in test case

Test case without mappedBy
org.hibernate.HibernateException: Unable to resolve property:
	at org.hibernate.tuple.entity.EntityMetamodel.getPropertyIndex(EntityMetamodel.java:926)

(cherry picked from commit bf2eb01856)
2015-11-10 09:15:00 -06:00
Emanuele Gesuato 92a830a5dd HHH-5946 - Wrong SQL generated when composites are compared using not-equal operator
(cherry picked from commit cd2b031b6b)
2015-11-09 23:08:37 -06:00
Steve Ebersole 7612f8c183 HHH-8847 - Exception thrown when trying to select a treated property
(cherry picked from commit 4132a4293a)
2015-11-09 22:42:45 -06:00