HBM2DDL does not use described name for foreign key in join inheritance

Description

in case of Joined inheritance, my superclass is:

And child is:

but when creating schema using hbm2ddl=create, described foreign key name is ignored:

Hibernate: alter table ARC_USER add constraint FKdeatoofkeuemefs49cnk3tm4p foreign key (USER_ID) references ARC_PERSON_ROLE

while expected is:

Hibernate: alter table ARC_USER add constraint ARC_FK_PERSON_ROLE_OF_USER foreign key (USER_ID) references ARC_PERSON_ROLE

Activity

Show:

Former user June 14, 2016 at 12:18 AM

Fixed in master, 5.1, and 5.0.

Andrea Boriero June 7, 2016 at 12:24 PM

Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

Created December 3, 2015 at 7:42 AM
Updated June 30, 2016 at 4:22 PM
Resolved June 14, 2016 at 12:18 AM