public class KeyGeneratorTypeHandlerFactory
extends java.lang.Object
KeyGeneratorTypeHandler
instances.Constructor | Description |
---|---|
KeyGeneratorTypeHandlerFactory() |
Modifier and Type | Method | 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.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com