Commit Graph

6799 Commits

Author SHA1 Message Date
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
Gail Badner 080eaba299 5.0.11 2016-09-19 01:14:38 -07:00
Gail Badner 11fc7ad251 5.0.11 2016-09-19 00:00:53 -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
Vlad Mihalcea 24a317eec8 HHH-11069 - Improve documentation regarding GenerationType.AUTO
Explain the two IdGeneratorStrategyInterpreter implementations and their relation to how AUTO resolves to an actual identifier strategy

(cherry picked from commit d88bf908da)
2016-09-15 15:04:04 -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 3bf744c209 HHH-11081 : remove AbstractFromImpl#shouldBeRendered
(cherry picked from commit 516d8a7e68)
2016-09-15 00:44:26 -07:00
Andrea Boriero 14d897fe96 HHH-11081 - JPA join with treat causes QuerySyntaxException: Invalid path
(cherry picked from commit c9c50d8afd)

Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/criteria/FromImplementor.java

(cherry picked from commit e2eb7128c3)
2016-09-15 00:44:09 -07:00
Andrea Boriero 5bb5931f38 HHH-11081 - Add test for issue
(cherry picked from commit 4d3ece8c09)
(cherry picked from commit e0a9f51ac7)
2016-09-15 00:43:42 -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
Gail Badner 47040451d7 HHH-11073 : test case
(cherry picked from commit 4551e521c1)
2016-08-31 00:27:08 -07:00
Gail Badner 97b5d7aa47 HHH-11072 : Skip CriteriaLiteralInSelectExpressionTest#testStringLiteral2 for Oracle, Db2, SQL Server, and Sybase dialects
(cherry picked from commit b28e0974df)
2016-08-30 23:21:40 -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
Gail Badner f23b550b62 HHH-11059 : Improve documentation for JTA configuration in user guide
(cherry picked from commit b3d2c0fc90)
2016-08-24 16:36:02 -07:00
Gail Badner f048eb9e4f HHH-11059 : Improve documentation for JTA configuration in 5.0 migration guide 2016-08-22 18:28:09 -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 898fe4f533 HHH-8488 : Replace jdk8-specific code with jdk6-compliant code 2016-08-15 23:41:44 -07: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