HHH-6167 correct Ejb3Column.checkPropertyConsistency error message

This commit is contained in:
Brett Meyer 2013-10-31 05:22:05 -04:00
parent 4b543dc552
commit c38533c4ae
2 changed files with 2 additions and 2 deletions

View File

@ -2686,7 +2686,7 @@ public final class AnnotationBinder {
secondPass
);
}
Ejb3Column.checkPropertyConsistency( columns, propertyHolder.getEntityName() + propertyName );
Ejb3Column.checkPropertyConsistency( columns, propertyHolder.getEntityName() + "." + propertyName );
//PropertyBinder binder = new PropertyBinder();
propertyBinder.setName( propertyName );
propertyBinder.setValue( value );

View File

@ -736,7 +736,7 @@ public class BinderHelper {
//id columns
final String propertyName = inferredData.getPropertyName();
Ejb3Column.checkPropertyConsistency( columns, propertyHolder.getEntityName() + propertyName );
Ejb3Column.checkPropertyConsistency( columns, propertyHolder.getEntityName() + "." + propertyName );
for (Ejb3JoinColumn column : columns) {
column.linkWithValue( value );
}