public class KeyGeneratorTypeHandlerFactory extends Object
KeyGeneratorTypeHandler
instances.Constructor and Description |
---|
KeyGeneratorTypeHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
static KeyGeneratorTypeHandler<?> |
getTypeHandler(int sqlType,
int allocationSize)
Returns an
KeyGeneratorTypeHandler instance. |
public static KeyGeneratorTypeHandler<?> getTypeHandler(int sqlType, int allocationSize) throws MappingException
KeyGeneratorTypeHandler
instance.sqlType
- The SQL type of the underlying identity field.allocationSize
- Allocation size.KeyGeneratorTypeHandler
instance.MappingException
- If an invalid SQL tyope is given.Copyright © 2016. All rights reserved.