Commit Graph

6829 Commits

Author SHA1 Message Date
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
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
Vlad Mihalcea 74a9acc616 HHH-11142 - Document supported use/implications of @Cache / @Cacheable
(cherry picked from commit 88bc2db28a)
2016-10-14 16:29:13 -07:00
johara 305e738478 HHH-11149 : Update plugin parameters for maven enhancer plugin 2016-10-03 17:20:52 +01:00
Karel Maesen 7c5f1aabb3 HHH-11087 - Fix missing type contribution in dialect
Also fixes broken integration tests
2016-10-01 16:35:47 +02:00
Karel Maesen 872848908f HHH-11012 - Update to geolatte-geom 1.0.6 2016-10-01 14:29:17 +02: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
Vlad Mihalcea a2c5025382 HHH-11116 - Improve the JPA bootstrapping section in the User Guide
(cherry picked from commit 2b30cabf2f)
2016-09-23 19:11:21 -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