|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uk.ac.ebi.intact.persistence.AbstractSequenceManager
|
+--uk.ac.ebi.intact.persistence.OracleSequenceManager
This sequence manager accesses a database sequence object to get the next unique id, leaving the management of the sequence to the database. In it's current implementation, this class is Oracle-specific, but some other RDBMS also offer sequence objects. IDs are unique across all classes.
| Field Summary |
| Fields inherited from class uk.ac.ebi.intact.persistence.AbstractSequenceManager |
_sitePrefix, _stmt, broker, CONFIG_FILE |
| Constructor Summary | |
OracleSequenceManager(org.apache.ojb.broker.PersistenceBroker broker)
|
|
| Method Summary | |
protected java.lang.String |
getNextSequence()
Called by the vendor specific implementation to obtain the SQL statement which allows to get the next unique ID. |
| Methods inherited from class uk.ac.ebi.intact.persistence.AbstractSequenceManager |
getUniqueId, getUniqueLong, getUniqueObject, getUniqueString, prepareSequenceStm |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OracleSequenceManager(org.apache.ojb.broker.PersistenceBroker broker)
throws IntactException
| Method Detail |
protected final java.lang.String getNextSequence()
AbstractSequenceManager
getNextSequence in class AbstractSequenceManager
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||