HHH-7887 - use JandexHelper.getEnumValue to get a enum value
This commit is contained in:
parent
44994c4c36
commit
ad6f5ae53f
|
@ -278,7 +278,7 @@ public class PluralAssociationAttribute extends AssociationAttribute {
|
||||||
HibernateDotNames.ON_DELETE
|
HibernateDotNames.ON_DELETE
|
||||||
);
|
);
|
||||||
if ( onDeleteAnnotation != null ) {
|
if ( onDeleteAnnotation != null ) {
|
||||||
action = JandexHelper.getValue( onDeleteAnnotation, "action", OnDeleteAction.class );
|
action = JandexHelper.getEnumValue( onDeleteAnnotation, "action", OnDeleteAction.class );
|
||||||
}
|
}
|
||||||
return action;
|
return action;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue