SchemaUpdateHaltOnErrorTest and SchemaMigratorHaltOnErrorTest fail with DB2

Description

org.hibernate.test.schemaupdate.SchemaUpdateHaltOnErrorTest
org.hibernate.test.schemaupdate.SchemaMigratorHaltOnErrorTest

Both tests have entity

which results in DDL:

this DDL is expected to fail with most databases, but in DB2 it seems valid. I didn't find any reserved keyword which would break it .

Environment

DB2

Activity

Show:
Martin Simka
July 20, 2018, 7:57 AM

fix doesn't work for SchemaUpdateHaltOnErrorTest. The test isn't skipped because it doesn't extend BaseUnitTestCase so it doesn't use CustomRunner which takes care of @SkipForDialect

Guillaume Smet
July 20, 2018, 8:38 AM

thanks, it's fixed now!

Assignee

Guillaume Smet

Reporter

Martin Simka

Fix versions

Labels

backPortable

Backport?

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

Components

Affects versions

Priority

Major
Configure