fix unique annotations parse issue, was a typo

This commit is contained in:
Strong Liu 2012-08-06 12:50:04 +08:00
parent 0f9a83611e
commit 420cec8c7a
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ public class Column {
AnnotationValue uniqueValue = columnAnnotation.value( "unique" ); AnnotationValue uniqueValue = columnAnnotation.value( "unique" );
if ( uniqueValue != null ) { if ( uniqueValue != null ) {
this.unique = nameValue.asBoolean(); this.unique = uniqueValue.asBoolean();
} }
AnnotationValue nullableValue = columnAnnotation.value( "nullable" ); AnnotationValue nullableValue = columnAnnotation.value( "nullable" );