Commit Graph

7245 Commits

Author SHA1 Message Date
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
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