Commit Graph

6840 Commits

Author SHA1 Message Date
Gail Badner 071d9de96f 5.0.13 2017-03-27 23:43:34 -07:00
Gail Badner 62461e4907 5.0.13 2017-03-27 23:38:17 -07:00
barreiro bf5a68e840 HHH-11459 - Test case
(cherry picked from commit 2779ebd8f0)

HHH-11459 : Correct test case to work on pre-5.2 versions

HHH-11459 - Do not fetch a collection on cascade, resolve it instead

(cherry picked from commit 41bd06266d)

HHH-11459 - Always resolve unloaded, lazy collection in enhanced entity when cascading; added comments

(cherry picked from commit 0b6ce73fcc)

HHH-11459 : Add entity names to avoid Oracle test failures

(cherry picked from commit 28f3148f7b)

HHH-11459 : Correct fix to work on pre-5.2 versions

(cherry picked from commit ba86f10378)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java
	hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/EnhancerTest.java
2017-03-27 20:56:53 -07:00
Gail Badner 4346c25531 HHH-11576 : Correct AbstractEntityTuplizer#getPropertyValues to work with new Enhancer 2017-03-27 19:31:59 -07:00
barreiro aca472bb65 HHH-11576 - Test case
(cherry picked from commit 8f495505e5)

HHH-11576 : Correct test case to work on pre-5.2 versions

HHH-11576 - Process unfetched collections on Flushvisitor to determine reachability

(cherry picked from commit a5c7087316)
(cherry picked from commit f20acbb972)
2017-03-27 16:05:39 -07:00
Gail Badner ce0ca558da HHH-10689 : Some tests fails because oracle12c doesn't support single column identity table 2017-03-20 22:24:12 -07:00
Gail Badner 4597a6b6f9 HHH-11516 : Level two cache may not be enabled when using @Cacheable without/instead of @Cache
(cherry picked from commit 7c870acc59913f16d35b609b31d7b0286fa2aee3)
2017-03-13 01:22:09 -07:00
Gail Badner 47e3b0a128 HHH-11516 : test case
(cherry picked from commit f1abc98960)
2017-03-13 01:10:07 -07:00
Steve Ebersole 1ca85a74ca HHH-11400 - HHH90000016: Found use of deprecated 'collection property' issue for valid JPQL query
(cherry picked from commit 2dca5f2ceb)
2017-02-23 14:51:57 -08:00
Gail Badner 9283e5026f HHH-10989 - Always resolve CollectionType on load so that unfetched collections have a reference stored in StatefulPersistentContext
HHH-10989 : Shorten test table names

(cherry picked from commit 55f7f71e04)
(cherry picked from commit e44b0ccde3)
2017-02-22 16:01:01 -08:00
Gail Badner 95ea186acf HHH-10989 : fix test case to work pre-5.2
(cherry picked from commit 6569161571)
2017-02-22 16:00:46 -08:00
barreiro 6d358cd6ed HHH-10989 - Always resolve CollectionType on load so that unfetched collections have a reference stored in StatefulPersistentContext
(cherry picked from commit 077ebbc04f)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/EnhancerTest.java

(cherry picked from commit b2356cc525)
2017-02-22 16:00:28 -08:00
Vlad Mihalcea 27da21415a HHH-2643 - Improve Session.refresh() Javdoc to clarify contract
Instead of writing it in the JavaDocs, it's much more appropriate to document this behavior in the User Guide

(cherry picked from commit 5629457aa8)

Conflicts:
	documentation/src/main/asciidoc/userguide/chapters/pc/PersistenceContext.adoc
	documentation/src/test/java/org/hibernate/userguide/pc/PersistenceContextTest.java

(cherry picked from commit 7541a2d9e2)
2017-02-14 19:14:53 -08:00
Vlad Mihalcea ea96632ca1 HHH-2123 - clarification on the way interceptors and event system interact.
(cherry picked from commit d126faa7d9)
2017-02-14 19:14:21 -08:00
Vlad Mihalcea 8d50d567ac HHH-11174 - Document that XML file mappings can reside outside of JAR
(cherry picked from commit 8bd6cf6f6b)
2017-02-14 19:14:04 -08:00
Vlad Mihalcea e6f55d2db0 HHH-11189 - Remove all links to external blog posts from User Guide
(cherry picked from commit d02b95a572)
2017-02-14 19:13:45 -08:00
Vlad Mihalcea 771b72ab15 HHH-3771 - Best practice for equals implementation
(cherry picked from commit 5ea187f035)
2017-02-14 19:13:29 -08:00
Vlad Mihalcea c621f3a869 HHH-7010 - Document mapping annotations
List and describe all JPA and Hibernate.annotations

(cherry picked from commit 2ecfd488b7)
2017-02-14 19:13:13 -08:00
Vlad Mihalcea 16af3cb9a0 HHH-11132 - Add a Performance Tuning and Best Practices chapter
Add more details related to associations and fix typos

(cherry picked from commit cd41d71b06)
2017-02-14 19:12:43 -08:00
Vlad Mihalcea 12e798aa76 HHH-11132 - Add a Performance Tuning and Best Practices chapter
(cherry picked from commit a705b48c41)
2017-02-14 19:12:30 -08:00
Vlad Mihalcea d82d398e90 HHH-11066 - Documentation regarding the reason @Filter is not supported with @Cache for collections
(cherry picked from commit 95ac619bce)
2017-02-14 19:12:14 -08:00
Craig Andrews 381cc73cb3
HHH-11294 - NPE in org.hibernate.jpa.internal.util.PersistenceUtilHelper.isInitialized(PersistentAttributeInterceptable) 2017-01-26 11:43:59 +00:00
Craig Andrews 0908b2d9a6
HHH-11293 - Consider enhanced entities with collections as being not unequivocally non-dirty 2017-01-26 11:23:26 +00:00
Craig Andrews 71d278b77d
HHH-11282 - HHH-11287 - HHH-11288 - [ hibernate-enhance-maven-plugin ] m2e/Eclipse integration + requiresDependencyResolution in descriptor + use project artifacts
Get artifacts from project, not executionProject
2017-01-26 11:20:21 +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 a93edc0cf1 5.0.12 2017-01-19 13:40:43 -05:00
Gail Badner 1a7747095c 5.0.12 2017-01-19 13:06:26 -05:00
Gail Badner 0b99d306a4 HHH-11271 : Add CacheTestUtil#sfOptionsForStart 2017-01-17 16:03:48 -05:00
Sanne Grinovero a6ea139539 HHH-11271 Fix hidden failure in InfinispanRegionFactoryTestCase#testTimestampValidation
(cherry picked from commit c308bcbe7d)

Conflicts:
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/InfinispanRegionFactoryTestCase.java
2017-01-17 16:03:03 -05: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
Vlad Mihalcea b5356b31e1 HHH-10243 - document package registration for Hibernate 5
(cherry picked from commit 705493d9e8)
2016-12-21 15:02:57 -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
Gail Badner 9a5df451b6 HHH-11083 : Change references to "OldCacheKeyImplementation" to "CacheKeyImplementation" in MultTenancyTest; also override addSettings to use DefaultCacheKeysFactory
(cherry picked from commit 30974c1cd4)
(cherry picked from commit 6729643e63)

Conflicts:
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/MultiTenancyTest.java
2016-11-23 00:20:34 -08:00
Gail Badner fbc0d76789 HHH-11083 : Change references to "OldCacheKeyImplementation" to "CacheKeyImplementation" in CacheKeysFactoryTest
(cherry picked from commit 61ca5c220b)
(cherry picked from commit 68536a4d6d)
2016-11-23 00:06:42 -08:00
Gail Badner cd9f0d344a HHH-11083 : clarify that hibernate.cache.keys_factory is only supported when using Infinispan
(cherry picked from commit 60d420b011)
(cherry picked from commit 887d129e11)
2016-11-23 00:06:27 -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
Karel Maesen 4f94b4636c HHH-11197 - Fix WKT parsing error 2016-10-29 14:52:32 +02:00
Gail Badner 2a643064df HHH-11159 : remove test from hibernate-core
(cherry picked from commit 4247332d79)
2016-10-21 00:03:06 -07:00
Gail Badner 192dd8323d HHH-11159 : Move test to hibernate-entitymanager
(cherry picked from commit 6f9c312fb6)
2016-10-21 00:02:47 -07:00
Andrea Boriero be2634259f HHH-11159 - JPA CriteriaUpdate, NnullLiteral causes IllegalArgumentException: Could not convert java type to Hibernate type
(cherry picked from commit 9e8fd60e26)
2016-10-21 00:02:30 -07:00
Andrea Boriero d0afd39d65 HHH-11159 - Add test for issue
(cherry picked from commit 1c1fe2a9af)
2016-10-21 00:02:15 -07:00