Commit Graph

7214 Commits

Author SHA1 Message Date
Gail Badner 25fff43cc1 HHH-11182 : minor correction to test required to backport 2016-10-20 14:16:01 -07:00
Andrea Boriero 5c89fb1dad HHH-11182 - HQL subquery with constraint property in superclass does not join superclass table
(cherry picked from commit b3151de647)
2016-10-20 13:22:07 -07:00
Gail Badner b7d0501fcb HHH-11182 - Add test for issue
(cherry picked from commit 38379a537a)
2016-10-20 13:21:52 -07:00
Vlad Mihalcea 20c93c38e0 HHH-11142 - Document supported use/implications of @Cache / @Cacheable
(cherry picked from commit 88bc2db28a)
2016-10-14 16:13:33 -07:00
johara c675f9b527 HHH-11149 : Update plugin parameters for maven enhancer plugin 2016-10-03 17:21:38 +01:00
Karel Maesen 7e880a9e48 HHH-11087 - Fix missing type contribution in dialect
Also fixes broken integration tests
2016-10-01 16:38:03 +02:00
Karel Maesen c75ab04f2d HHH-11012 - Update to geolatte-geom 1.0.6 2016-10-01 14:30:50 +02:00
Gail Badner ad769e54b5 HHH-10998 : NullPointerException when using join with subselect in hbm mapping
(cherry picked from commit f34508e3f3)
2016-09-28 17:55:08 -07:00
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