org.exolab.castor.jdo.drivers
Class SequenceKeyGeneratorFactory
public final
class
SequenceKeyGeneratorFactory
extends Object
implements KeyGeneratorFactory
SEQUENCE key generator factory.
The short name of this key generator is "SEQUENCE".
It uses Oracle/PostrgeSQL SEQUENCEs
There are two optional parameters for this key generator:
1) name is "sequence" and the default value is "{0}_seq";
2) name is "returning", values: "true"/"false", default is "false".
The latter parameter should be used only with Oracle8i, "true" value
turns on more efficient RETURNING syntax.
It is possible to use naming patterns like this for obtaining
SEQUENCE name by table name. This gives the possibility to use
one global key generator declaration rather than one per table.
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:15 $
Author: Oleg Nitz
See Also: SequenceKeyGenerator
Produce the key generator.
UNKNOWN: Helper object for obtaining database-specific QuerySyntax. Parameters for key generator.
public String getName()
The short name of this key generator is "SEQUENCE"
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com