|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.castor.cpa.persistence.sql.keygen.typehandler.KeyGeneratorTypeHandlerFactory
public class KeyGeneratorTypeHandlerFactory
Factory for creating KeyGeneratorTypeHandler instances.
| Constructor Summary | |
|---|---|
KeyGeneratorTypeHandlerFactory()
|
|
| Method Summary | |
|---|---|
static KeyGeneratorTypeHandler<?> |
getTypeHandler(int sqlType,
int allocationSize)
Returns an KeyGeneratorTypeHandler instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyGeneratorTypeHandlerFactory()
| Method Detail |
|---|
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.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||