Automatically limit length of table identifiers created by @ElementCollection when using Oracle dialect

Description

Oracle at least up to including version 12c allows identifier to be at most 30 characters long. This is not handled automatically on table names for tables created for @ElementCollection.

I found @CollectionTable to work in such scenarios, though it would still be nice, if this is handled transparently.

In addition, I see no risk for backwards compatibility, since anybody using Oracle now would have to already be using @CollectionTable.

Environment

None

Assignee

Unassigned

Reporter

Juri Berlanda

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure