HHH-7743 @TableGenerator attributes handled using incorrect types
This commit is contained in:
parent
805ff1c2b5
commit
367d331fd7
|
@ -188,12 +188,12 @@ public class IdentifierGeneratorExtractionDelegate {
|
||||||
|
|
||||||
parameterMap.put(
|
parameterMap.put(
|
||||||
TableGenerator.INCREMENT_PARAM,
|
TableGenerator.INCREMENT_PARAM,
|
||||||
String.valueOf( JandexHelper.getValue( generatorAnnotation, "allocationSize", String.class ) )
|
String.valueOf( JandexHelper.getValue( generatorAnnotation, "allocationSize", Integer.class ) )
|
||||||
);
|
);
|
||||||
|
|
||||||
parameterMap.put(
|
parameterMap.put(
|
||||||
TableGenerator.INITIAL_PARAM,
|
TableGenerator.INITIAL_PARAM,
|
||||||
String.valueOf( JandexHelper.getValue( generatorAnnotation, "initialValue", String.class ) + 1 )
|
String.valueOf( JandexHelper.getValue( generatorAnnotation, "initialValue", Integer.class ) + 1 )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue