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:
parent
e2f6b83754
commit
59ec34d5b6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue