Commit Graph

7134 Commits

Author SHA1 Message Date
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
Christian Beikov aa3b6fbd9f Fix for HHH-11340
(cherry picked from commit a2781e6654)
2016-12-21 13:25:00 -08:00
Christian Beikov bd1c5140da Testcase for HHH-11340
(cherry picked from commit 7dc7fbe27f)
2016-12-21 13:24:50 -08:00
stasal d6ecc37c0f HHH-11337 - Incorrect SQL generated when use both left join with unrelated entity and implicit join to another entity in select-clause
(cherry picked from commit b2df137ed6)
2016-12-21 13:24:25 -08:00
Jan Martiska 951cc68a3e HHH-11295 - Some improvements to EntityJoinTest
(cherry picked from commit cff4ea1ce6)
2016-12-21 13:23:23 -08:00
Gail Badner 7b8a113fed HHH-11289 : Lazy-initializing a static Method and making accessible not thread-safe
(cherry picked from commit 3a1cbf3280)
2016-12-19 20:50:36 -08:00
Gail Badner d989d6e4f2 HHH-11241 : checkstyle fixes
(cherry picked from commit 3805752731)
2016-12-19 20:24:39 -08:00
Gail Badner 285c5eb43e HHH-11241 : Fix issue due to backporting
(cherry picked from commit 7dc1729483)
2016-12-19 19:32:40 -08:00
Gail Badner e5b8eb5f23 HHH-11241 : Missing column when executing HQL and criteria query with secondary table
(cherry picked from commit b8f9deacc713a6b67f3df1e2473b689f6dfc8247)
(cherry picked from commit f490451b6d)
2016-12-19 19:32:21 -08:00
Gail Badner 46cb1ea07d HHH-11241 : Missing column when executing HQL and criteria query with secondary table
(cherry picked from commit b4b77f85d70765f420ab17c9128f9472175d6619)
2016-12-19 19:32:03 -08:00
Gail Badner 400afbb8c3 HHH-11241 : test case (failing tests marked with FailureExpected)
(cherry picked from commit 3e52340a92)
2016-12-19 19:31:38 -08:00
Gail Badner fbbabe157f HHH-11328 : change references to SharedSessionContractImplementor to SessionImplementor 2016-12-15 12:08:24 -08:00
Gail Badner 911d1a661d HHH-11328 : Persist of transient entity in derived ID that is already in merge process throws javax.persistence.EntityExistsException
(cherry picked from commit 54f3409b41)
2016-12-15 12:00:26 -08:00
Gail Badner 4abaa5cf68 HHH-11332 skip some tests from QueryAndSQLTest and QueryTest on Sybase 2016-12-12 22:47:28 -08:00
Jan Martiska ac71650f44 HHH-11331 fix SQLLoaderTest on DB2
(cherry picked from commit c393853308)
2016-12-12 20:56:15 -08:00
Gail Badner 9aaf0cd7c4 HHH-11330 : Skip IdentifierGeneratorWithNaturalIdCacheTest on dialects that do not support identity columns
(cherry picked from commit 87fe30b83b)
2016-12-12 20:49:58 -08:00
Martin Simka bffc4b1708 HHH-11329 - fix tests on Oracle
fixes ORA-00972: identifier is too long on Oracle databases

(cherry picked from commit 4bf4e3b81a)
2016-12-12 18:24:59 -08:00
Gail Badner cd92cc6f5b HHH-11329 fix tests using too long identifiers
(cherry picked from commit b4a9be0adc)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/TablePerClassWithEmbeddableTest.java
2016-12-12 16:54:20 -08:00
Jan Martiska 857298618c HHH-11329 fix tests using too long identifiers
(cherry picked from commit a4cf282070)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/JoinedSubclassWithEmbeddableTest.java
	hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/SingleTableWithEmbeddableTest.java
2016-12-12 16:34:57 -08:00
Jan Martiska 71c3a49572 HHH-11314 - BasicHibernateAnnotationsTest.testInheritFiltersFromMappedSuperclass fails on MS SQL Server
(cherry picked from commit eaf5b10cf1)
2016-12-09 16:17:00 -08:00
Martin Simka e27acf731a [HHH-11203] fix some minor test issues
(cherry picked from commit 957ec3fa79)
2016-12-09 16:03:44 -08:00
Gail Badner 4ab2f4872e HHH-11315 - EnhancerTest fails on Oracle databases 2016-12-09 14:35:44 -08:00
Jan Martiska 331c79ea88 HHH-11315 - EnhancerTest fails on Oracle databases
(cherry picked from commit a369120504)
2016-12-09 13:48:10 -08:00
Gail Badner 7d7aef7ecc HHH-10689 - Fix tests failing when switching to Oracle 2016-12-09 13:37:48 -08:00
Gail Badner 412e553c99 5.1.3.Final release 2016-11-23 18:11:09 -08:00
Gail Badner 378643ddd0 5.1.3.Final release 2016-11-23 17:10:41 -08:00
Gail Badner 6729643e63 HHH-11083 : Change references to "OldCacheKeyImplementation" to "CacheKeyImplementation" in MultTenancyTest; also override addSettings to use DefaultCacheKeysFactory
(cherry picked from commit 30974c1cd4)
2016-11-22 23:33:51 -08:00
Gail Badner 68536a4d6d HHH-11083 : Change references to "OldCacheKeyImplementation" to "CacheKeyImplementation" in CacheKeysFactoryTest
(cherry picked from commit 61ca5c220b)
2016-11-22 23:33:29 -08:00
Gail Badner 887d129e11 HHH-11083 : clarify that hibernate.cache.keys_factory is only supported when using Infinispan
(cherry picked from commit 60d420b011)
2016-11-22 23:33:14 -08:00