duplicate property mapping - more details

Description

Exception "org.hibernate.MappingException: duplicate property mapping: ..." should show more detailes. At least should show two class names with duplicated columns.

Environment

Hibernate 3.1.2

Activity

Show:
Max Rydahl Andersen
April 3, 2006, 4:04 PM

has nothing to do with duplicate classes/columns.

but yes, we could add the entity name where the duplication occurs.

Diego Plentz
October 5, 2007, 1:49 PM

Now, duplicate property mapping looks like this:

"Duplicate property mapping of " + prop.getName() + " found in " + getEntityName()

Steve Ebersole
March 21, 2011, 7:05 PM

Bulk closing stale resolved issues

Assignee

Diego Plentz

Reporter

Sergey Vladimirov

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Minor
Configure