Issue Type: Bug Bug
Affects Versions: 5.0.0
Assignee: Brett Meyer
Components: core
Created: 02/Oct/12 9:07 AM
Description:

Test case: o.h.test.discriminator.DiscriminatorTest#testDiscriminatorSubclass

Person.hbm.xml defines 2 many-to-one relationships. In 4.1.x, the table looked like this:

create table Person (
person_id bigint generated by default as identity (start with 1),
name varchar(80) not null,
sex char(255) not null,
address varchar(255),
zip varchar(255),
country varchar(255),
title varchar(20),
salary numeric,
manager bigint,
comments varchar(255),
salesperson bigint,
primary key (person_id)
)

In metamodel, 'manager' is 'manager_person_id' and 'salesperson' is 'salesperson_person_id'. The many-to-one names are being ignored.

Fix Versions: 5.0.0
Project: Hibernate ORM
Priority: Major Major
Reporter: Brett Meyer
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira