HHH-7743 @TableGenerator attributes handled using incorrect types

This commit is contained in:
brmeyer 2012-10-30 16:50:10 -04:00
parent 805ff1c2b5
commit 367d331fd7
1 changed files with 2 additions and 2 deletions

View File

@ -188,12 +188,12 @@ public class IdentifierGeneratorExtractionDelegate {
parameterMap.put(
TableGenerator.INCREMENT_PARAM,
String.valueOf( JandexHelper.getValue( generatorAnnotation, "allocationSize", String.class ) )
String.valueOf( JandexHelper.getValue( generatorAnnotation, "allocationSize", Integer.class ) )
);
parameterMap.put(
TableGenerator.INITIAL_PARAM,
String.valueOf( JandexHelper.getValue( generatorAnnotation, "initialValue", String.class ) + 1 )
String.valueOf( JandexHelper.getValue( generatorAnnotation, "initialValue", Integer.class ) + 1 )
);
}
else {