protected class TableJDBCSeq.CurrentSequenceRunnable
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
TableJDBCSeq.CurrentSequenceRunnable(JDBCStore store,
ClassMapping mapping) |
Modifier and Type | Method and Description |
---|---|
void |
run()
This method actually obtains the current sequence value.
|
TableJDBCSeq.CurrentSequenceRunnable(JDBCStore store, ClassMapping mapping)
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().Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.