HHH-7887 - use JandexHelper.getEnumValue to get a enum value

This commit is contained in:
Strong Liu 2012-12-21 15:02:32 +08:00
parent 44994c4c36
commit ad6f5ae53f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }