org.apache.openjpa.jdbc.kernel
protected class TableJDBCSeq.AllocateSequenceRunnable extends java.lang.Object implements java.lang.Runnable
Modifier and Type | Method and Description |
---|---|
void |
run()
This method actually obtains the current sequence value.
|
public void run() throws java.lang.RuntimeException
run
in interface java.lang.Runnable
java.lang.RuntimeException
- any SQLExceptions that occur when obtaining the sequence
value are wrapped in a runtime exception to avoid
breaking the Runnable method signature. The caller can
obtain the "real" exception by calling getCause().