Foreign key reference generated before unique constraint exists

Description

The mapping is the same as in HHH-7668.

In H2 the generated schema works:

On Oracle this fails, as the foreign key reference is actually checked before the UNIQUE constraint is generated.

http://www.techonthenet.com/oracle/errors/ora02270.php

Environment

None

Status

Assignee

Brett Meyer

Reporter

Christian Bauer

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Minor
Configure