If the following mapping is used:
The user sees the following exception:
It seems the error is caused by the fact that Hibernate ORM creates an additional table for this mapping containing the ids generated. We should try to solve the issue or improve the error message and update the documentation.
The task performed by EPAM