Commit Graph

7245 Commits

Author SHA1 Message Date
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
Dmytro Bondar a7a78f803f HHH-8687 Better exception message for PostgreSQL81Dialect and named REF_CURSOR parameter binding
(cherry picked from commit 63ea1f812a)
2016-08-10 17:10:42 -07:00
Greg Jones a0c7c313c7 HHH-9894 - Support Informix Boolean Type
(cherry picked from commit 3ef05dea2f)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/InformixDialect.java
	hibernate-core/src/test/java/org/hibernate/dialect/InformixDialectTestCase.java
2016-08-10 17:04:13 -07:00
Gabriel Belingueres a0b70ffece Fixes HHH-10800 - InformixDialect: add support for current_timestamp() and current_date()
(cherry picked from commit 5e82c2e414)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/InformixDialect.java
	hibernate-core/src/test/java/org/hibernate/dialect/InformixDialectTestCase.java
	hibernate-core/src/test/java/org/hibernate/engine/query/InformixFunctionTest.java
2016-08-10 16:57:01 -07:00
Chris Cranford ddad1b6c70 HHH-10978 - Added test case.
(cherry picked from commit 5b7d00ef1e)
2016-08-10 16:02:00 -07:00
Chris Cranford 4a60011cb7 HHH-10978 - Fix building join table metadata with default catalogs or schema values.
(cherry picked from commit 1dcb391f83)

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 15:59:41 -07:00
Gail Badner c60287264f HHH-8488 : Replace jdk8-specific code with jdk6-compliant code 2016-08-10 15:14:22 -07:00
Andrea Boriero 02c86507ba HHH-8488 - Fix Join, CollectionJoin, SetJoin, ListJoin, MapJoin CriteriaBuilder#treat SetJoin behaviour
(cherry picked from commit 20f68d43a4)
2016-08-10 15:14:22 -07:00
Gail Badner abf80cae81 HHH-8488 : Move tests to hibernate-entityManager 2016-08-10 15:14:22 -07:00
Andrea Boriero 18fb5d9168 HHH-8488 - Add tests for issue
(cherry picked from commit 9d20d3ab03)
2016-08-10 15:14:22 -07:00
Vlad Mihalcea 80770ab13b HHH-10523 - 2.3.20. SQL quoted identifiers in User Guide should discuss explicit enclosure in double-quotes (JPA) 2016-08-10 11:12:15 +03:00
Andrea Boriero cdb11f9be2 HHH-10695 - Fix MySQL should not use the NCLOB type
(cherry picked from commit 455d86307b)
2016-08-09 16:29:41 -07:00