org.intermine.sql.writebatch
Class FlushJobBatchCommit

java.lang.Object
  extended by org.intermine.sql.writebatch.FlushJobBatchCommit
All Implemented Interfaces:
FlushJob

public class FlushJobBatchCommit
extends java.lang.Object
implements FlushJob

A FlushJob that commits and re-opens a transaction on the database.


Constructor Summary
FlushJobBatchCommit(java.sql.Connection con)
          Constructor for this class
 
Method Summary
 void flush()
          Performs the flush of all data represented by this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlushJobBatchCommit

public FlushJobBatchCommit(java.sql.Connection con)
Constructor for this class

Parameters:
con - a Connection with which to perform the updates
Method Detail

flush

public void flush()
           throws java.sql.SQLException
Performs the flush of all data represented by this object.

Specified by:
flush in interface FlushJob
Throws:
java.sql.SQLException - if there is a problem performing the flush