Commit Graph

6875 Commits

Author SHA1 Message Date
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
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 c93cb2bb7c HHH-8488 : Replace jdk8-specific code with jdk6-compliant code
(cherry picked from commit c60287264f)
2016-08-10 15:17:19 -07:00
Andrea Boriero 82553152c7 HHH-8488 - Fix Join, CollectionJoin, SetJoin, ListJoin, MapJoin CriteriaBuilder#treat SetJoin behaviour
(cherry picked from commit 20f68d43a4)
(cherry picked from commit 02c86507ba)
2016-08-10 15:17:00 -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
Vlad Mihalcea e568d03717 HHH-10523 - 2.3.20. SQL quoted identifiers in User Guide should discuss explicit enclosure in double-quotes (JPA) 2016-08-10 11:13:45 +03:00
Vlad Mihalcea 77bf65e902 HHH-11013 - The release task creates two documentation folders for UserGuide 2016-08-01 11:29:07 +03:00
Gail Badner 232e0e73c0 5.0.10 2016-07-31 23:04:01 -07:00
Gail Badner 5177a92204 5.0.10 2016-07-31 22:21:34 -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
Karel Maesen 32127bd5c1 HH-10987 - Update geolatte-geom to 1.0.4 2016-07-29 18:23:31 +02: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
Vlad Mihalcea 0032886918 HHH-11002 - Add documentation section about Filter and FilterDef 2016-07-28 16:35:02 +03: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
johara 43134abdd0 HHH-10993 - Added testcase for Lazy Loaded collections outside transaction in bytecode enhanced entities
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/EnhancerTest.java
2016-07-26 16:36:07 -07:00
barreiro d66c213b61 HHH-10973 - Fix 'class is frozen' when enhancing bidirectional relationships
(cherry picked from commit a9318ce656)
2016-07-21 22:54:06 -07:00
barreiro 5192eb71f5 HHH-10977 - Entity not enhanced after MappedSuperclass
(cherry picked from commit 987487e106)
2016-07-21 22:53:52 -07:00
barreiro 0f881d7cf2 HHH-10977 - Fix enhanced classloader so that the testsuite behaves as the enhancement plugins do
(cherry picked from commit b3aaa12b64)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/EnhancerTestUtils.java
2016-07-21 22:52:54 -07:00
Dmytro Bondar 606cc34049 HHH-10725 - Hibernate Integrations Guide: an incorrect example LatestAndGreatestConnectionProviderImpl 2016-07-21 16:27:12 +03:00
barreiro 0f8fa7a12b HHH-10922 - Call on bytecode enhanced method trigger load of proxy
(cherry picked from commit 92c1e63577)
2016-07-19 16:20:57 -07:00
Gail Badner e66ec8f77e HHH-10922 - Correcions due to backporting
(cherry picked from commit 58b3f69555)
2016-07-19 16:19:29 -07:00