Commit Graph

7006 Commits

Author SHA1 Message Date
Vlad Mihalcea d58f6d4192 HHH-11116 - Improve the JPA bootstrapping section in the User Guide
(cherry picked from commit 2b30cabf2f)
2016-09-23 18:51:39 -07:00
Gail Badner 45ea61bc7e HHH-10659 : fix test case to work with jdk7 2016-09-23 18:24:50 -07:00
Damien Hollis e950f7b05a HHH-10659 - Natural Id 2nd level Cache not working when Identity is database generated
(cherry picked from commit 9498b52566)
2016-09-23 18:05:21 -07:00
Gail Badner fbc7fd2caf 5.1.2.Final release 2016-09-19 01:16:09 -07:00
Gail Badner 67aec1ffa0 5.1.2.Final release 2016-09-19 00:12:52 -07:00
Gail Badner b936f21b95 HHH-11038 : Invalid statement generated for @MapKeyColumn(updatable=false) for @OneToMany
(cherry picked from commit 87e69c9d34)
2016-09-18 21:55:14 -07:00
Gail Badner c13224fba0 HHH-11038 : test case
(cherry picked from commit c3f7c332f5)
2016-09-18 21:48:50 -07:00
Andrea Boriero b6ba54d403 HHH-11101 - Missing unique constraint for many-to-many with unique=true in list mapping
(cherry picked from commit 9cf4fecbfe)
2016-09-16 01:10:33 -07:00
Andrea Boriero 253f70f591 HHH-11101 - Add test for issue
(cherry picked from commit a3eac62761)
2016-09-16 01:08:36 -07:00
Vlad Mihalcea f2ecfc1f53 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:01:53 -07:00
Gail Badner df2432d684 HHH-11067 : Fix to work with JDK6 souce 2016-09-15 14:44:04 -07:00
Steve Ebersole a53e3ed126 HHH-11067 - Proxy-wrapped Sessions (ThreadLocalSessionContext.TransactionProtectionWrapper) handle equals incorrectly
(cherry picked from commit aaa32ebed5)
2016-09-15 14:24:02 -07:00
Gail Badner 516d8a7e68 HHH-11081 : remove AbstractFromImpl#shouldBeRendered 2016-09-15 00:39:25 -07:00
Andrea Boriero e2eb7128c3 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
2016-09-15 00:37:48 -07:00
Andrea Boriero e0a9f51ac7 HHH-11081 - Add test for issue
(cherry picked from commit 4d3ece8c09)
2016-09-15 00:09:06 -07:00
VyacheslavRarata f799d3f85e HHH-10106 - Include source entity name and table name (attribute name too ideally) for associations referencing unmapped classes
(cherry picked from commit f0fa15b247)
2016-09-01 22:46:58 -07:00
Gail Badner 5c3ea67111 HHH-3846 : modify test case to work for JDK6 source 2016-09-01 12:56:56 -07:00
Andrew Judson d17d5fe0dc HHH-3846 - Persisting entity with detached associated entity.
(cherry picked from commit 6dd41e7ae6)
2016-08-31 21:12:00 -07:00
Gail Badner 47af492d3a HHH-11073 : Casting to boolean in HQL query fails on MySQL
(cherry picked from commit 839bf0b6f9)
2016-08-31 00:26:25 -07:00
Gail Badner 889c7852cc HHH-11073 : test case
(cherry picked from commit 4551e521c1)
2016-08-31 00:26:05 -07:00
Gail Badner 5e42b04607 HHH-11072 : Skip CriteriaLiteralInSelectExpressionTest#testStringLiteral2 for Oracle, Db2, SQL Server, and Sybase dialects
(cherry picked from commit b28e0974df)
2016-08-30 23:11:32 -07:00
Alex Belyaev e25fcd2ed7 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:18:40 -07:00
Gail Badner 96bf5eca37 HHH-9739 : Updated object is written to second level cache with CacheMode.IGNORE
(cherry picked from commit 4f991c3e74)
2016-08-25 01:06:07 -07:00
Gail Badner f60cb843eb HHH-11059 : Improve documentation for JTA configuration in user guide
(cherry picked from commit b3d2c0fc90)
2016-08-24 16:35:04 -07:00
Gail Badner 1faeb54a3d HHH-11058 : Correct package for TransactionCoordinatorBuilder 2016-08-23 15:25:31 -07:00
Steve Ebersole 148c41277a HHH-11058 - NPE in SchemaValidator with DdlTransactionIsolatorJtaImpl
(cherry picked from commit 68c62da29e)
2016-08-23 15:24:44 -07:00
Steve Ebersole 248df370eb HHH-11058 - NPE in SchemaValidator with DdlTransactionIsolatorJtaImpl
(cherry picked from commit f26eb97091)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaDropperImpl.java
2016-08-23 15:22:53 -07:00
Andrea Boriero f446b0a35e 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
2016-08-18 16:10:41 -07:00
Gail Badner 840258a00e HHH-11037 : Fix tests to be jdk6-compliant 2016-08-18 16:03:48 -07:00
Gail Badner 366efe118f HHH-11037 : Correct jira issue in @TestForIssue
(cherry picked from commit 5096982532)
2016-08-18 15:46:07 -07:00
Andrea Boriero 26ae36840d HHH-11037 - Add test for issue
(cherry picked from commit 3028f5d787)
2016-08-18 15:45:50 -07:00
johara 836691b5a7 HHH-11051 : Cache EventListenerRegistry and StatisticsImplementor
(cherry picked from commit 97318b71f0)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
2016-08-18 14:25:23 -07:00
Chris Cranford 815a0a81c2 HHH-9199 - Fixed auditing of embeddable collections using ValidityAuditStrategy.
(cherry picked from commit a17dd125e7)

Conflicts:
	hibernate-envers/src/main/java/org/hibernate/envers/strategy/ValidityAuditStrategy.java
2016-08-17 15:56:08 -07:00
Chris Cranford d53c6afbd5 HHH-9199 - Removed FailureExpected.
(cherry picked from commit 95c01d9001)
2016-08-17 15:35:20 -07:00
Chris Cranford 846a554e38 HHH-9199 - Checkstyle header fix.
(cherry picked from commit 179076e0e6)
2016-08-17 14:29:25 -07:00
Felix Feisst 252d8c06c6 Added unit test for issue HHH-9199
(cherry picked from commit bc9e82bd70)
2016-08-17 14:29:13 -07:00
Felix Feisst f4b410a65e Added unit test for issue HHH-9199
(cherry picked from commit 85eca1aa01)
2016-08-17 14:29:02 -07:00
Gail Badner a06160cf68 5.1.1.Final release 2016-08-12 16:47:08 -07:00
Gail Badner a9f94f58aa 5.1.1.Final release 2016-08-12 14:29:09 -07:00
Steve Ebersole cd0d20ef5c HHH-10629 - Spatial not bundled in release bundles
(cherry picked from commit 048268ef1e)
2016-08-12 11:15:55 -07:00
Gail Badner be57dad4c2 HHH-11041 : Correct references to Hibernate version in javadoc annotations in backported code 2016-08-11 22:27:41 -07:00
Felix Feisst 8206ab3a50 HHH-11025 -Implemented left joins for relation traversion in audit
queries by leveraging the new HQL feature to join unrelated entities.
Furthermore, the implementation of inner joins have been improved by
using the same new HQL feature. The audit query API has been extended to
support criterias where two properties of different entities are
disjuncted, conjuncted or directly compared to each other.
(cherry picked from commit a59ebb7)
2016-08-11 17:52:56 -07:00
Chris Cranford 129a7085fa HHH-11025 - Document relation traversal api. (cherry picked from commit 6be8232) 2016-08-11 17:51:30 -07:00
Yanming Zhou 4649f5fa91 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:16:02 -07:00
Andrea Boriero c82301da48 HHH-8488 - Replace jdk8-specific code with jdk6-compliant code 2016-08-11 08:30:34 +02:00
Andrea Boriero dd3b1e0b1b HHH-11036 - The drop schema filtering of sequence generation with schemaFilter is wrong 2016-08-11 08:23:59 +02:00
Andrea Boriero 9e428260fe HHH-10937 - The generation of the drop schema does not filter sequence with schemaFilter 2016-08-11 08:23:36 +02:00
Andrea Boriero 0f44cde175 HHH-10937 - Add test for issue 2016-08-11 08:23:21 +02:00
Gail Badner ee2db37052 HHH-10876 : corrections due to backporting 2016-08-10 23:11:36 -07:00
Vlad Mihalcea d4b81560bf 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
2016-08-10 22:37:25 -07:00