Package org.apache.openjpa.jdbc.kernel
Class TableJDBCSeq.AllocateSequenceRunnable
- java.lang.Object
- 
- org.apache.openjpa.jdbc.kernel.TableJDBCSeq.AllocateSequenceRunnable
 
- 
- All Implemented Interfaces:
- java.lang.Runnable
 - Enclosing class:
- TableJDBCSeq
 
 protected class TableJDBCSeq.AllocateSequenceRunnable extends java.lang.Object implements java.lang.RunnableAllocateSequenceRunnable is a runnable wrapper that will inserts the initial sequence value into the database.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()This method actually obtains the current sequence value.
 
- 
- 
- 
Method Detail- 
runpublic void run() throws java.lang.RuntimeExceptionThis method actually obtains the current sequence value.- Specified by:
- runin interface- java.lang.Runnable
- Throws:
- 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().
 
 
- 
 
-