Commit Graph

7062 Commits

Author SHA1 Message Date
Chris Cranford a4974a4d2e HHH-10577 - Added additional test cases for VALUE()
(cherry picked from commit fa3171530c)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/hql/CollectionMapWithComponentValueTest.java
2017-02-21 15:34:17 -08:00
Gail Badner afee667c21 HHH-10577 : Fix test case to work pre-5.2 2017-02-21 15:29:10 -08:00
Christian Beikov c27e51c3d7 Test for HHH-10577
(cherry picked from commit f9fce8c657)
2017-02-21 15:26:59 -08:00
Gail Badner cfb4d37834 HHH-10996 : bugfix in code changed to run pre-5.2 2017-02-21 14:40:41 -08:00
Vlad Mihalcea 72f238f813 HHH-10996 - The cleanupTestData utility has issues with link tables
Use bulk delete in certain situations like when we have a @Formula annotation that takes an SQL function which is not supported by the currently running DB

(cherry picked from commit bf823d440c)

Conflicts:
	hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java
2017-02-21 13:47:15 -08:00
Gail Badner 2bf9cadef3 HHH-10996 : Fix to work pre-5.2 2017-02-21 13:40:44 -08:00
Vlad Mihalcea fc4665707d HHH-10996 - The cleanupTestData utility has issues with link tables
(cherry picked from commit 8f5ba32990)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/hql/CollectionMapWithComponentValueTest.java
2017-02-21 13:35:09 -08:00
Gail Badner 70db5e4241 HHH-10919 : Fix test to work with jdk 1.6 2017-02-21 13:03:44 -08:00
Andrea Boriero 6e52712926 HHH-10919 - HQL: Sql syntax exception when joining a Map<Entity,Component>
(cherry picked from commit 65fee06bd6)
2017-02-21 12:44:23 -08:00
Vlad Mihalcea 7541a2d9e2 HHH-2643 - Improve Session.refresh() Javdoc to clarify contract
Instead of writing it in the JavaDocs, it's much more appropriate to document this behavior in the User Guide

(cherry picked from commit 5629457aa8)

Conflicts:
	documentation/src/main/asciidoc/userguide/chapters/pc/PersistenceContext.adoc
	documentation/src/test/java/org/hibernate/userguide/pc/PersistenceContextTest.java
2017-02-14 19:01:37 -08:00
Vlad Mihalcea 517877fb27 HHH-2123 - clarification on the way interceptors and event system interact.
(cherry picked from commit d126faa7d9)
2017-02-14 16:43:15 -08:00
Vlad Mihalcea 03629b617c HHH-11174 - Document that XML file mappings can reside outside of JAR
(cherry picked from commit 8bd6cf6f6b)
2017-02-14 16:34:31 -08:00
Vlad Mihalcea e932475118 HHH-11189 - Remove all links to external blog posts from User Guide
(cherry picked from commit d02b95a572)
2017-02-14 16:29:03 -08:00
Vlad Mihalcea 45c563fee8 HHH-3771 - Best practice for equals implementation
(cherry picked from commit 5ea187f035)
2017-02-14 16:28:39 -08:00
Vlad Mihalcea 36ce18335f HHH-7010 - Document mapping annotations
List and describe all JPA and Hibernate.annotations

(cherry picked from commit 2ecfd488b7)
2017-02-14 16:22:53 -08:00
Vlad Mihalcea 933a9c465f HHH-11132 - Add a Performance Tuning and Best Practices chapter
Add more details related to associations and fix typos

(cherry picked from commit cd41d71b06)
2017-02-14 16:22:14 -08:00
Vlad Mihalcea 77c537cd6a HHH-11132 - Add a Performance Tuning and Best Practices chapter
(cherry picked from commit a705b48c41)
2017-02-14 16:21:58 -08:00
Vlad Mihalcea 612c0606db HHH-11066 - Documentation regarding the reason @Filter is not supported with @Cache for collections
(cherry picked from commit 95ac619bce)
2017-02-14 14:42:28 -08:00
Karel Maesen 84135d4c0f HHH-11198 - Fixed checkstyle errors 2017-02-12 23:20:28 +01:00
Karel Maesen af301bc9ba HHH-11198 - Add Geometry cast to Postgis st_extent() function 2017-02-11 16:39:16 +01:00
Karel Maesen 1679e205cc HHH-11198 - Fix checkstyle error 2017-02-11 16:39:02 +01:00
Gail Badner f88db39da1 HHH-10981 : Fix due to backport 2017-01-27 15:37:02 +00:00
Gail Badner 2b9cdace85 HHH-11173 : test case 2017-01-27 11:38:12 +00:00
Craig Andrews 518d58e6b0 HHH-11294 - NPE in org.hibernate.jpa.internal.util.PersistenceUtilHelper.isInitialized(PersistentAttributeInterceptable) 2017-01-27 11:38:12 +00:00
Craig Andrews 77f461f8bf HHH-11293 - Consider enhanced entities with collections as being not unequivocally non-dirty 2017-01-27 11:38:12 +00:00
Craig Andrews aaf955444a HHH-11282 - HHH-11287 - HHH-11288 - [ hibernate-enhance-maven-plugin ] m2e/Eclipse integration + requiresDependencyResolution in descriptor + use project artifacts
Get artifacts from project, not executionProject
2017-01-27 11:38:12 +00:00
barreiro 82310d80e4 HHH-11284 - HHH-11404 - Fix enhancement in cases where there is some sort of inheritance 2017-01-27 11:38:12 +00:00
barreiro 15502f8a4a HHH-11050 - [bytecode enhancement] Add support for getters/setters through delegation 2017-01-27 11:38:12 +00:00
barreiro d23deb37cd HHH-10981 - Support private persistent fields in @MappedSuperclass 2017-01-27 11:38:12 +00:00
Gail Badner 6030f1ff94 5.1.4 2017-01-19 14:44:49 -05:00
Gail Badner e68d32bdb9 5.1.4 2017-01-19 14:19:01 -05:00
Gail Badner 9b52b4ed70 HHH-11335 : Fix due to backporting (@SkipForDialect is not repeatable) 2017-01-18 00:28:16 -05:00
Jan Martiska 7abf4398ee HHH-11335 skip ByteArrayIdTest, PrimitiveByteArrayIdTest on Oracle
(cherry picked from commit e10d87085d)
2017-01-18 00:07:57 -05:00
Vlad Mihalcea 3088e1f6bf HHH-10904 - Fix tests failing when switching to MySQL
(cherry picked from commit 0e6230faf0)
2017-01-17 22:39:06 -05:00
Gail Badner be0a781f01 HHH-11202 : IllegalAccessException on Embeddable ID after serializing Getter in cache key
(cherry picked from commit 99a033c21c)
2017-01-12 09:37:44 -08:00
Andrea Boriero d37f7e3bb4 HHH-11177 - Duplicate queries during startup
(cherry picked from commit 3e5025ac10)
2017-01-11 00:50:27 -08:00
Gail Badner 608ab56c6d HHH-11023 : Miscellaneous fixes required to backport 2017-01-11 00:38:30 -08:00
Andrea Boriero f697d26161 HHH-11023 - Startup performance regression : schema update/validate
(cherry picked from commit de3153a8e1)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
	hibernate-core/src/main/java/org/hibernate/tool/schema/internal/Helper.java
	hibernate-core/src/test/java/org/hibernate/test/tool/schema/IndividuallySchemaValidatorImplTest.java
2017-01-11 00:37:35 -08:00
Gail Badner a49ee43089 HHH-10332 : Change SchemaValidatorImplTest to use DdlTransactionIsolatorTestingImpl 2017-01-10 23:08:12 -08:00
Dominique Toupin 92b0fd6468 HHH-10332 - Disambiguate missing table name
(cherry picked from commit 15c83ab61b)
2017-01-10 22:35:00 -08:00
Andrea Boriero 824bbca677 HHH-11061 - Attempt to resolve foreign key metadata from JDBC metadata failed to find column mappings for foreign when keywords auto quoting is enabled
(cherry picked from commit dc7a1c96a3)
2017-01-10 22:18:23 -08:00
Steve Ebersole 1cf8639c9e HHH-11220 - Auto-detect SQL Server 2016 when the major version is 13
(cherry picked from commit 36d6563998)
2017-01-10 16:48:17 -08:00
Radim Vansa 97fb511083 HHH-11304 Replace PutFromLoadValidator properly in CollectionRegionAccessStrategyTest
(cherry picked from commit c94df359d6)

Conflicts:
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/collection/CollectionRegionAccessStrategyTest.java
2017-01-05 15:21:54 -08:00
Radim Vansa 560d6b59c6 HHH-11304 Invalidations are not cleared when transaction rolls back
* always use global transaction id (in transactional caches) or command invocation id (in non-transactional caches) to identifiy the invalidator
* don't use afterInvoke/afterUpdate/unlockItem to end invalidation as this is not called during rollback
** use Infinispan transaction handling or explicitly registered invalidation to hook into the process
** move invalidation calls to interceptor stack where we have the identifiers
* don't use deprecated methods for commands marshalling

(cherry picked from commit 294ba74c76)

Conflicts:
	hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/access/InvalidationCacheAccessDelegate.java
	hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/access/NonTxInvalidationCacheAccessDelegate.java
	hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/access/NonTxPutFromLoadInterceptor.java
	hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/access/PutFromLoadValidator.java
	hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/access/TxInvalidationCacheAccessDelegate.java
	hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/util/EndInvalidationCommand.java
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/InvalidationTest.java
2017-01-05 15:01:10 -08:00
Gail Badner 6d7a14e4a2 HHH-11216 : Fixes required to backport 2017-01-03 13:53:34 -08:00
Andrea Boriero 1c37385d2f HHH-11216 - @ElementCollection for enumerations is failing when enabling insert ordering
(cherry picked from commit aa5f893267)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
2016-12-23 17:54:22 -08:00
Gail Badner e791f77122 HHH-9864 HHH-11357 : Fixes required to backport; improvement to tests 2016-12-23 17:36:47 -08:00
Vlad Mihalcea 9500f92bc6 HHH-9864 - foreign key violation with order_inserts=true and batches with mixed subclass entities
(cherry picked from commit 0c8261b0ae)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
2016-12-21 21:30:31 -08:00
Vlad Mihalcea 113dc5dbcb HHH-10243 - document package registration for Hibernate 5
(cherry picked from commit 705493d9e8)
2016-12-21 14:53:38 -08:00
Gail Badner ff373c32df HHH-11340 : Minor correction to test case due to backporting 2016-12-21 13:38:20 -08:00