org.exolab.castor.jdo.keygen

Class IdentityKeyGeneratorFactory

public final class IdentityKeyGeneratorFactory extends Object implements KeyGeneratorFactory

IDENTITY key generator factory. The short name of this key generator is "IDENTITY". It works for Sybase and SQL Server identity (autoincrement) fields and fetched @@identity after insert.

Version: $Revision: 1.1 $ $Date: 2005/06/01 12:08:16 $

Author: Oleg Nitz

See Also: IdentityKeyGenerator

Method Summary
KeyGeneratorgetKeyGenerator(PersistenceFactory factory, Properties params, int sqlType)
Produce the key generator.
StringgetName()
The short name of this key generator is "IDENTITY"

Method Detail

getKeyGenerator

public KeyGenerator getKeyGenerator(PersistenceFactory factory, Properties params, int sqlType)
Produce the key generator.

UNKNOWN: Helper object for obtaining database-specific QuerySyntax. Parameters for key generator.

getName

public String getName()
The short name of this key generator is "IDENTITY"
Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com