HHH-5578 fix incorrect use of JDK 6

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20772 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Emmanuel Bernard 2010-10-04 14:05:41 +00:00
parent e2f6b83754
commit 59ec34d5b6
1 changed files with 1 additions and 1 deletions

View File

@ -2661,7 +2661,7 @@ public final class AnnotationBinder {
final JoinColumn joinColumn = property.getAnnotation( JoinColumn.class );
if ( property.isAnnotationPresent( ManyToOne.class ) && joinColumn != null
&& !joinColumn.name().isEmpty()
&& ! BinderHelper.isEmptyAnnotationValue( joinColumn.name() )
&& joinColumn.name().equals( columnName )
&& !property.isAnnotationPresent( MapsId.class ) ) {
hasSpecjManyToOne = true;