One-to-many mapping inside component mapping creates a many-to-many table

Description

I have a bag one-to-many collection inside of a component.

This collection is correctly mapped by hibernate, but envers creates a many-to-many link table next to the one-to-many table.

When I move the collection up to the entity class instead of the component, the many-to-many link table is not created.

Why is the link table created when the collection is inside of a component object?
The link table should not be necessary, as it is not necessary when the collection is in the entity. The component mapping should make no difference right?

Environment

None

Assignee

Roger

Reporter

Willem Burgers

Labels

None

Components

Affects versions

Priority

Minor
Configure