HHH-6167 correct Ejb3Column.checkPropertyConsistency error message

This commit is contained in:
Brett Meyer 2013-10-31 05:22:05 -04:00
parent 6242632b76
commit 32b93b9788
2 changed files with 2 additions and 2 deletions

View File

@ -2771,7 +2771,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 );
}