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".

Activity

Show:

Former userJuly 10, 2014 at 5:58 AM

Closing resolved issued in preparation for releasing 4.3.6.

Former userJuly 9, 2014 at 10:46 PM

Fixed in 4.3.6 and 4.2.15. It will be fixed in master by HHH-9281.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created July 9, 2014 at 9:48 PM
Updated April 22, 2015 at 6:24 PM
Resolved July 9, 2014 at 10:46 PM