Bidirectional @OneToMany does not support a non-nullable @OrderColumn

Description

If we define a bidirectional @OneToMany association with a non-nullable @OrderColumn:

The INSERT will fail since the order column is only updated after the INSERT:

Environment

None

Assignee

Unassigned

Reporter

Vlad Mihalcea

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure