Commit Graph

3026 Commits

Author SHA1 Message Date
Craig Andrews 0908b2d9a6
HHH-11293 - Consider enhanced entities with collections as being not unequivocally non-dirty 2017-01-26 11:23:26 +00:00
barreiro 919557f250
HHH-11284 - HHH-11404 - Fix enhancement in cases where there is some sort of inheritance 2017-01-26 11:19:45 +00:00
barreiro deefb11e9d
HHH-11050 - [bytecode enhancement] Add support for getters/setters through delegation 2017-01-26 11:17:49 +00:00
barreiro e41867baf9
HHH-10981 - Support private persistent fields in @MappedSuperclass 2017-01-26 10:49:32 +00:00
Gail Badner c84869bdac HHH-11202 : IllegalAccessException on Embeddable ID after serializing Getter in cache key
(cherry picked from commit 99a033c21c)
2017-01-12 10:22:28 -08:00
Gail Badner 747d24b7c1 HHH-11289 : Lazy-initializing a static Method and making accessible not thread-safe
(cherry picked from commit 3a1cbf3280)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/internal/AttributeConverterDescriptorImpl.java
2016-12-19 21:28:21 -08:00
Gail Badner 3805752731 HHH-11241 : checkstyle fixes 2016-12-19 20:23:27 -08:00
Gail Badner 7dc1729483 HHH-11241 : Fix issue due to backporting 2016-12-08 12:53:16 -08:00
Gail Badner f490451b6d HHH-11241 : Missing column when executing HQL and criteria query with secondary table
(cherry picked from commit b8f9deacc713a6b67f3df1e2473b689f6dfc8247)
2016-12-08 12:41:43 -08:00
Gail Badner 72ae66dfe6 HHH-11241 : Missing column when executing HQL and criteria query with secondary table
(cherry picked from commit b4b77f85d70765f420ab17c9128f9472175d6619)
2016-12-08 12:41:19 -08:00
Gail Badner 9729649615 HHH-11241 : test case (failing tests marked with FailureExpected)
(cherry picked from commit 3e52340a92)
2016-12-08 12:41:06 -08:00
Radim Vansa 18b44d977e Document `hibernate.cache.keys_factory`
(cherry picked from commit 789724f4e4)
2016-11-23 00:06:07 -08:00
Radim Vansa b8498af6d1 HHH-11083 Un-deprecate OldCacheKeyImplementation and OldNaturalCacheKey
(cherry picked from commit 7daab773ce)
2016-11-23 00:05:54 -08:00
Radim Vansa 9c9ff765ca HHH-11083 WrongClassException using Infinispan and sharing cache regions
* DefaultCacheKeysFactory implements CacheKeysFactory, therefore it can be used in hibernate.cache.keys_factory
* Use DefaultCacheKeysFactory by default
* Add "default" and "simple" as short names for those factories

(cherry picked from commit f744f89bd3)
2016-11-23 00:05:40 -08:00
Gail Badner 2a643064df HHH-11159 : remove test from hibernate-core
(cherry picked from commit 4247332d79)
2016-10-21 00:03:06 -07:00
Andrea Boriero d0afd39d65 HHH-11159 - Add test for issue
(cherry picked from commit 1c1fe2a9af)
2016-10-21 00:02:15 -07:00
Andrea Boriero a8c6790d72 HHH-11182 - HQL subquery with constraint property in superclass does not join superclass table
(cherry picked from commit b3151de647)
2016-10-20 14:18:38 -07:00
Gail Badner 44bbc2ba8a HHH-11182 : minor correction to test required to backport
(cherry picked from commit 25fff43cc1)
2016-10-20 14:18:25 -07:00
Gail Badner 4f62ba9c81 HHH-11182 - Add test for issue
(cherry picked from commit 38379a537a)
2016-10-20 14:18:11 -07:00
Gail Badner 62038989e3 HHH-10998 : NullPointerException when using join with subselect in hbm mapping
(cherry picked from commit f34508e3f3)
2016-09-28 21:31:01 -07:00
Gail Badner 779331a9a5 HHH-10659 : fix test case to work with jdk7
(cherry picked from commit 45ea61bc7e)
2016-09-23 18:26:04 -07:00
Damien Hollis 399227a33c HHH-10659 - Natural Id 2nd level Cache not working when Identity is database generated
(cherry picked from commit 9498b52566)
2016-09-23 18:25:48 -07:00
Gail Badner 86cd386ce9 HHH-11038 : Invalid statement generated for @MapKeyColumn(updatable=false) for @OneToMany
(cherry picked from commit 87e69c9d34)
2016-09-18 22:00:04 -07:00
Gail Badner 37ffbfd3d5 HHH-11038 : test case
(cherry picked from commit c3f7c332f5)
2016-09-18 21:59:49 -07:00
Gail Badner 5ae4c85d2a HHH-11101 : Minor correction to test to work for 5.0 2016-09-16 01:28:44 -07:00
Andrea Boriero 33b649e369 HHH-11101 - Missing unique constraint for many-to-many with unique=true in list mapping
(cherry picked from commit 9cf4fecbfe)
2016-09-16 01:15:50 -07:00
Andrea Boriero 9c51d269db HHH-11101 - Add test for issue
(cherry picked from commit a3eac62761)
2016-09-16 01:15:32 -07:00
Gail Badner 4a2993211b HHH-11067 : Fix to work with JDK6 souce
(cherry picked from commit df2432d684)
2016-09-15 14:46:13 -07:00
Steve Ebersole 4c04d35b4c HHH-11067 - Proxy-wrapped Sessions (ThreadLocalSessionContext.TransactionProtectionWrapper) handle equals incorrectly
(cherry picked from commit aaa32ebed5)
(cherry picked from commit a53e3ed126)
2016-09-15 14:45:58 -07:00
Gail Badner b809eb09b9 HHH-11073 : Casting to boolean in HQL query fails on MySQL
(cherry picked from commit 839bf0b6f9)
2016-08-31 00:27:15 -07:00
Alex Belyaev aa47860936 HHH-9512: Avoid creation of invalid managed -> managed entity mapping in MergeContext when traversing cascade loop
(cherry picked from commit 816c97613d)
2016-08-29 16:59:26 -07:00
Andrea Boriero eeb57f39db HHH-11037 - Same named subtype embeddable properties ignored
(cherry picked from commit 62bfbf8bd9)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java

(cherry picked from commit f446b0a35e)
2016-08-18 16:15:46 -07:00
Gail Badner 9ad8e1ae88 HHH-11037 : Fix tests to be jdk6-compliant
(cherry picked from commit 840258a00e)
2016-08-18 16:15:29 -07:00
Gail Badner 2335716be8 HHH-11037 : Correct jira issue in @TestForIssue
(cherry picked from commit 5096982532)
2016-08-18 16:15:14 -07:00
Andrea Boriero c8e68b6ee9 HHH-11037 - Add test for issue
(cherry picked from commit 3028f5d787)
2016-08-18 16:14:58 -07:00
johara 97318b71f0 HHH-11051 : Cache EventListenerRegistry and StatisticsImplementor 2016-08-17 13:22:11 +01:00
Gail Badner 0f67404b79 HHH-11041 : Correct references to Hibernate version in javadoc annotations in backported code 2016-08-11 22:21:47 -07:00
Yanming Zhou ed2c353717 HHH-10964 : Fix missing currentTenantIdentifierResolver
1. Add missing sessionFactoryBuilder.applyCurrentTenantIdentifierResolver() .
2. Use getter instead of field for consistency .

(cherry picked from commit 5ea8997ca7)
2016-08-11 00:36:37 -07:00
Gail Badner 906341349b HHH-10876 : corrections due to backporting
(cherry picked from commit ee2db37052)
2016-08-10 23:26:31 -07:00
Vlad Mihalcea a505028533 HHH-10876 - DefaultIdentifierGeneratorFactory does not consider the hibernate.id.new_generator_mappings setting
(cherry picked from commit eec01edcca)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java

(cherry picked from commit d4b81560bf)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
2016-08-10 23:25:15 -07:00
Gail Badner e6fe44f973 HHH-10978 : changes required to backport to 5.0 2016-08-10 16:30:51 -07:00
Chris Cranford 5abcfbf5d5 HHH-10978 - Added test case.
(cherry picked from commit 5b7d00ef1e)
2016-08-10 16:07:02 -07:00
Chris Cranford d4a820fc9f HHH-10978 - Fix building join table metadata with default catalogs or schema values.
(cherry picked from commit 9c37511811)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/BinderHelper.java
	hibernate-core/src/main/java/org/hibernate/cfg/annotations/TableBinder.java
2016-08-10 16:05:54 -07:00
Gail Badner 76142a6e65 HHH-8488 : Move tests to hibernate-entityManager
(cherry picked from commit abf80cae81)
2016-08-10 15:16:24 -07:00
Andrea Boriero 9a9da98aaa HHH-8488 - Add tests for issue
(cherry picked from commit 9d20d3ab03)
(cherry picked from commit 18fb5d9168)
2016-08-10 15:15:56 -07:00
Gail Badner 71d799ae11 HHH-10795 : Corrections due to backporting 2016-07-29 17:20:40 -07:00
Gail Badner b22f0113a8 HHH-10795 : added assertions to test case
(cherry picked from commit afbc9e2dcd)
2016-07-29 17:20:40 -07:00
Gail Badner 6bd487cae6 HHH-10795 : StatefulPersistenceContext.entityEntryContext does not work properly for ManagedEntity associated with a different StatefulPersistenceContext
(cherry picked from commit 001ea33603)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
2016-07-29 17:20:40 -07:00
Chris Cranford d41daa3b46 HHH-10994 - Relax requirement of 'as' in the alias phrase for the MSSQL LimitHandler implementation.
(cherry picked from commit 714ba62)
2016-07-28 12:48:34 -05:00
Gail Badner f8243a6007 HHH-10993 : NPE when Lazy loading collection without transaction for bytecode enhanced entitie
(cherry picked from commit 2c553f3290)
2016-07-26 16:37:29 -07:00