org.fosstrak.epcis.repository.capture
Class CaptureOperationsSession

java.lang.Object
  extended by org.fosstrak.epcis.repository.capture.CaptureOperationsSession

public class CaptureOperationsSession
extends Object

TODO: Javadoc

TODO: Can we get rid of this class as we now use Hibernate?

Author:
Sean Wellington

Constructor Summary
CaptureOperationsSession(Connection connection)
           
 
Method Summary
 void close()
           
 void commit()
           
 PreparedStatement getBatchInsert(String sql)
           
 Connection getConnection()
           
 PreparedStatement getInsert(String sql)
           
 PreparedStatement getSelect(String sql)
           
 void rollback()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaptureOperationsSession

public CaptureOperationsSession(Connection connection)
Method Detail

getInsert

public PreparedStatement getInsert(String sql)
                            throws SQLException
Throws:
SQLException

getBatchInsert

public PreparedStatement getBatchInsert(String sql)
                                 throws SQLException
Throws:
SQLException

getSelect

public PreparedStatement getSelect(String sql)
                            throws SQLException
Throws:
SQLException

getConnection

public Connection getConnection()

commit

public void commit()
            throws SQLException
Throws:
SQLException

rollback

public void rollback()
              throws SQLException
Throws:
SQLException

close

public void close()
           throws SQLException
Throws:
SQLException


Copyright © 2010. All Rights Reserved.