Commit Graph

1902 Commits

Author SHA1 Message Date
Jan Martiska 3aada64294 HHH-10466 - AliasTest and MappingReorderedAliasTest fail on DB2 2016-04-07 11:08:44 +03:00
Martin Simka 16678c3e99 HHH-9995 - Finish pgsql database profile - rollback transaction on error in TestLazyBasicFieldAccessExecutable 2016-04-07 11:03:30 +03:00
Jan Martiska 8138d946a4 Skip tests for HHH-10161 on sybase 2016-04-07 10:58:32 +03:00
Jan Martiska b3207eef0a HHH-10457 fix derived identity tests 2016-04-07 10:45:48 +03:00
Jan Martiska 3420733a96 remove DB2DialectTest as it requires HHH-9300 to pass 2016-04-07 10:37:10 +03:00
Gail Badner 0d5c35cdbc HHH-10563 : Significant String use/duplication associated with subselect fetch
(cherry picked from commit 3f37fff04a)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/spi/SubselectFetch.java
	hibernate-core/src/main/java/org/hibernate/loader/Loader.java
	hibernate-core/src/main/java/org/hibernate/loader/plan/exec/process/internal/ResultSetProcessingContextImpl.java
2016-03-07 22:35:50 -08:00
Gail Badner 8fb8a158d3 HHH-10563 : Add trace logging of generated SubselectFetch query string
(cherry picked from commit b053116bb4)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/spi/SubselectFetch.java
2016-03-07 22:06:08 -08:00
Matt Drees 1dd3de9946 HHH-5764 - Support for multi-level derived ids
(cherry picked from commit a32372d751)
(cherry picked from commit 943acc78bc)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
	hibernate-core/src/main/java/org/hibernate/cfg/CopyIdentifierComponentSecondPass.java

HHH-5764 - Support for multi-level derived ids
2015-12-07 16:26:45 -08:00
Gail Badner ac49051add HHH-10202 : Delay resolving TypeScopeImpl#factory after deserialization until resolveFactory() is called. 2015-12-07 14:18:48 -08:00
Gail Badner bec5ee854c HHH-10202 : Delay resolving TypeScopeImpl#factory after deserialization until resolveFactory() is called. 2015-12-07 14:18:48 -08:00
Gail Badner 568b427d46 HHH-10161 : Hibernate ignores return value from javax.persistence.Parameter#getParameterType()
(cherry picked from commit b4dbb90f17)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/AbstractQueryImpl.java
	hibernate-core/src/test/java/org/hibernate/test/annotations/query/QueryAndSQLTest.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/internal/QueryImpl.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/spi/BaseQueryImpl.java
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/Item.java
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/query/QueryTest.java

HHH-10161 : Incorporate changes from conflicts
2015-12-07 13:55:42 -08:00
Gail Badner ffc49268b6 HHH-5255 : Add imports to test
(cherry picked from commit a837540220)
2015-10-20 11:07:06 -07:00
Gail Badner f313d21267 HHH-5255 : Merge detached entity failed when the instrumented lazy property is initialized
(cherry picked from commit c00d4609ef)
(cherry picked from commit fd760dcf2e)
2015-10-20 11:06:50 -07:00
Andrei Ivanov cfb4223fb3 Test for HHH-5255
(cherry picked from commit e0347f81e8)
(cherry picked from commit 3d21604602)
(cherry picked from commit 3908215685)
2015-10-20 11:06:33 -07:00
Gail Badner 74f21115ce HHH-9637 : Join is reused when 2 explicit joins are used for the same ToOne association
(cherry picked from commit 6bb8d03595)

Conflicts:
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/metamodel/AbstractMetamodelSpecificTest.java
2015-07-21 18:02:19 -07:00
Gail Badner 55941e6645 HHH-2851 : ParameterTranslationsImpl fails to correctly determine parameter type
(cherry picked from commit d0d0963c18)
2015-06-17 15:53:04 -07:00
Gail Badner 0e02ca22c5 Revert "HHH-9777 : Dereferenced collections are not processed properly (test cases)"
This reverts commit ab1f1c0135.
2015-06-16 18:09:55 -07:00
Gail Badner e01d5b1c3a Revert "HHH-9777 : Dereferenced collections are not processed properly"
This reverts commit 98743e3096.
2015-06-16 18:09:30 -07:00
Gail Badner 4d22b54dd5 Revert "HHH-9777 : Dereferenced collections are not processed properly"
This reverts commit 9466446d39.
2015-06-16 18:09:02 -07:00
Gail Badner f36e0ef49e Revert "HHH-9777 : Copy tests from AbstractDereferencedCollectionTest into subclasses"
This reverts commit 3a4b2426fc.
2015-06-16 18:08:44 -07:00
Gail Badner f1f5c1ae3a Revert "HHH-9518 : Exception handling around collection session access needs to be improved"
This reverts commit db475ed716.
2015-06-16 18:08:19 -07:00
Gail Badner b3b43a82bb Revert "HHH-9518 : Add tests for new warnings"
This reverts commit fd9c92eaf6.
2015-06-16 18:07:49 -07:00
Gail Badner 20987c9d9c Revert "HHH-9805 - Backport for 4.2 branch"
This reverts commit 938064fc3d.
2015-06-16 17:30:56 -07:00
Gail Badner fd9c92eaf6 HHH-9518 : Add tests for new warnings
(cherry picked from commit 5eb4c0bdc5)

HHH-9518 : Corrections to test to work pre-5.0

(cherry picked from commit 87ddd73ae6)

HHH-9518 : Remove LOG from MultipleSessionCollectionWarningTest (only used in 5.0)
2015-06-11 16:26:11 -07:00
Gail Badner db475ed716 HHH-9518 : Exception handling around collection session access needs to be improved
(cherry picked from commit f4f04901e2)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/collection/internal/AbstractPersistentCollection.java
	hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java

HHH-9518 : Corrections to test to work for pre-5.0

(cherry picked from commit 0854a0473f)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/collection/internal/AbstractPersistentCollection.java
2015-06-11 12:56:57 -07:00
Andrea Boriero 938064fc3d HHH-9805 - Backport for 4.2 branch 2015-05-28 09:24:59 +01:00
Gail Badner 3a4b2426fc HHH-9777 : Copy tests from AbstractDereferencedCollectionTest into subclasses
(cherry picked from commit 4e2f7aeae4)
2015-05-27 12:44:34 -07:00
Gail Badner 9466446d39 HHH-9777 : Dereferenced collections are not processed properly
HHH-9777 : Dereferenced collections are not processed properly (test case changes only)

(cherry picked from commit 93f56ecf5d)
2015-05-27 12:44:24 -07:00
Gail Badner 98743e3096 HHH-9777 : Dereferenced collections are not processed properly
HHH-9777 : Dereferenced collections are not processed properly (mark test as FailureExpected due to partial fix)

(cherry picked from commit e07eef3db1)
2015-05-27 12:44:04 -07:00
Gail Badner ab1f1c0135 HHH-9777 : Dereferenced collections are not processed properly (test cases)
(cherry picked from commit 82cdc82a48)
2015-05-27 12:43:49 -07:00
Gail Badner 503fe45c46 HHH-9758 : Broken SQL generated for dynamic batch fetching entities with a composite ID
(cherry picked from commit fd67d5fb5f8182f3e61240d18594b82e0d1c80fe)
2015-04-29 17:11:56 -07:00
Gail Badner 59cbee44e7 HHH-9250 : BigIntegerSequenceGeneratorTest.testBasics fails on MS SQL Server 2012
(cherry picked from commit 49fed0938e)
2015-04-20 17:53:04 -07:00
Steve Ebersole 6d4dd52f8d HHH-9413 : Backport HHH-8853 to 4.2: NonBatchingBatch.addToBatch() calls statement.close() twice
(cherry picked from commit 86d5ab0d818b8029cc5e0310ae5c64338d0f47ef)

(cherry picked from commit 556e31fb2d)
2015-04-13 15:34:56 -07:00
Steve Ebersole f00e4df8ab Merge pull request #791 from beikov/HHH-9300
Added test for HHH-9300
2015-03-24 22:36:41 -05:00
Gail Badner 1227b73e1e HHH-9642 : Join fetch not performing join fetch for @Embeddable with @OneToMany
(cherry picked from commit 6c404c30f7)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/DotNode.java
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/criteria/components/ComponentCriteriaTest.java
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/criteria/components/Name.java
2015-03-12 13:43:01 -07:00
Gail Badner 8806054ad8 HHH-9597 : Criteria creates invalid column aliases
(cherry picked from commit 36cc2c836c)
2015-02-12 13:54:11 -08:00
Gail Badner b4f3a87684 HHH-9597 : Criteria creates invalid column aliases (test case)
(cherry picked from commit c9df7589f2)
2015-02-12 13:51:05 -08:00
Gail Badner 86b4c52ed9 HHH-9523 : EnumeratedTypeTest - select from dual causes test failures on mssql, postgresql, db2 and sybase
(cherry picked from commit 264b0be40e)
2015-01-21 16:58:10 -08:00
Gail Badner 4a73591aee HHH-9091 : Collection deleted due to orphan removal fails with constraint violation 2015-01-21 01:25:46 -08:00
Gail Badner a8b2a7178e HHH-9568 : EntityManager.flush() does not behave properly with transient one-to-one association and no cascade 2015-01-14 16:34:01 -08:00
Gail Badner 0def0abcac HHH-9467 : Cannot enable NamingStrategyDelegator implementations using standalone schema tools
(cherry picked from commit 4bf3b162ad)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExportTask.java
	hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaUpdateTask.java
	hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaValidatorTask.java
2015-01-05 12:34:06 -08:00
George Gastaldi f66fcc461b HHH-6670: H2Dialect should use "if exists" when dropping sequences
(cherry picked from commit 60d4fe5001)
2014-12-18 12:42:41 -08:00
George Gastaldi 84918aaf15 HHH-9500: H2Dialect shoud not drop constraints
The constraints are automatically dropped when the table is also dropped.
Trying to drop a constraint on a table that doesn't exist present unnecessary error messages.

(cherry picked from commit 7854bc6769)
2014-12-18 12:40:12 -08:00
Gail Badner e8cf997eb3 HHH-8401 : Support fractional seconds on MySQL 5.7 (tweak test cases for 4.2) 2014-12-17 23:41:28 -08:00
Gail Badner c29cbf1753 HHH-8401 : Unit test fixes
(cherry picked from commit 45511f10ae)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/temporal/TimestampPropertyTest.java
	hibernate-envers/src/test/java/org/hibernate/envers/test/integration/strategy/ValidityAuditStrategyRevEndTsTest.java
2014-12-17 23:28:19 -08:00
Gail Badner b4446f368e HHH-8401 : Support fractional seconds on MySQL 5.7 (tweak test cases for 4.2) 2014-12-16 22:10:35 -08:00
Gail Badner deb1ee8e96 HHH-8401 : Support fractional seconds on MySQL 5.7
(cherry picked from commit fe94cda1d1)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/function/NoArgSQLFunction.java
2014-12-16 22:08:42 -08:00
Gail Badner b5435bfa2d HHH-9091 : Cascaded collection delete fails due to wrong execution sequence (test case)
(cherry picked from commit 3b57f1612d)
2014-12-02 22:16:50 -08:00
Gail Badner e863539c22 HHH-9330 : orphanRemoval=true does not work in bidirectional relationships (without cascading) 2014-11-26 16:03:04 -08:00
Gail Badner 943f1cd14e HHH-9330 : Test cases for orphanRemoval=true does not work in bidirectional relationships (without cascading)
(cherry picked from commit 1ff9edfb81)
2014-11-26 15:37:31 -08:00