Skip to content

Commit f6a03cf

Browse files
lillo42Sanne
authored andcommitted
HHH-5249 Add more details MappingException
1 parent caa84d3 commit f6a03cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/mapping/Component.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ public Property getProperty(String propertyName) throws MappingException {
362362
return prop;
363363
}
364364
}
365-
throw new MappingException("component property not found: " + propertyName);
365+
throw new MappingException("component: " + componentClassName + " property not found: " + propertyName);
366366
}
367367

368368
public String getRoleName() {

0 commit comments

Comments
 (0)