| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.persistence.db
public class OracleUidGenerator
Implements the UIDGenerator in terms of the Oracle sequence mechanism
Implements:
UniqueIdGenerator
Links:
Implementation Implementation Link
Implements the UIDGenerator in terms of the Oracle sequence mechanism
| Field Summary |
private static String |
|
private static Logger |
|
| Constructor Summary |
public void |
|
| Method Summary |
public int |
|
public int |
|
private static String className
Multiplicity:
1
Static.
private static Logger logger
Multiplicity:
1
Static.
public void OracleUidGenerator ()
Constructor for the OracleUidGenerator object
Stereotype:
create
public int getCurrentUniqueId (String uidName, Transaction trans)
Gets the current value of the specified sequence
Parameters:
uidName the name of the sequence to retrieve
trans the transaction in which the sequence should be retrieved
Exceptions:
PersistenceException if an error occurs retrieving the specified sequence
Return:
The current sequence value
Throws:
PersistenceException
public int getNextUniqueId (String uidName, Transaction trans)
Gets the next unique value of the specified sequence
Parameters:
uidName the name of the sequence to increment
trans the transaction in which the sequence should be incremented
Exceptions:
PersistenceException if an error occurs incrementing the specified sequence
Return:
The next sequence value
Throws:
PersistenceException
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|