SolarMetric Kodo JDO Enterprise Edition 2.3.1 generated on August 20 2002

com.solarmetric.kodo.impl.jdbc
Interface SequenceFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
DBSequenceFactory

public interface SequenceFactory
extends Serializable

An implementation of the SequenceFactory interface is used to generate unique primary key values for newly persisted JDO instances. SequenceFactories must be serializable so that the PersistenceManagerFactory can retain them when stored in JNDI.

Author:
Abe White

Method Summary
 long getNext(Class cls)
          Return a unique primary key value for the given class.
 void setConfiguration(JDBCConfiguration conf)
          Set the configuration for this factory; allows access to database connection information, etc.
 

Method Detail

setConfiguration

public void setConfiguration(JDBCConfiguration conf)
Set the configuration for this factory; allows access to database connection information, etc.

getNext

public long getNext(Class cls)
             throws Exception
Return a unique primary key value for the given class.

SolarMetric Kodo JDO Enterprise Edition 2.3.1 generated on August 20 2002

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.