Table name generated for @ElementCollection uses owning entity class name instead of mapped entity name
Description
If no collection table is specifically mapped and an entity name is specified (via @Entity(name="...") , the table name generated for @ElementCollection starts with its (unqualified) owning entity class name. It should start with the mapped entity name instead.
For example:
Currently, the collection table is named "Matrix_mvalues"; it should be "Mtx_mvalues".
If no collection table is specifically mapped and an entity name is specified (via @Entity(name="...") , the table name generated for @ElementCollection starts with its (unqualified) owning entity class name. It should start with the mapped entity name instead.
For example:
Currently, the collection table is named "Matrix_mvalues"; it should be "Mtx_mvalues".