com.funambol.email.inboxlistener.engine
Class DBTools

java.lang.Object
  extended bycom.funambol.email.inboxlistener.engine.DBTools

public class DBTools
extends java.lang.Object

This class groups some utility methods for DB invoking


Constructor Summary
DBTools(DBAccount _dba)
          Creates a new DBTools with the given DBAccount
 
Method Summary
 java.sql.Connection getConnection()
           
 void releaseConnection(java.sql.PreparedStatement ps)
           
 void releaseConnection(java.sql.PreparedStatement ps1, java.sql.PreparedStatement ps2)
           
 void releaseConnection(java.sql.ResultSet rs, java.sql.PreparedStatement ps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBTools

public DBTools(DBAccount _dba)
Creates a new DBTools with the given DBAccount

Method Detail

getConnection

public java.sql.Connection getConnection()
                                  throws InboxListenerException
Returns:
Connection
Throws:
SeccException
InboxListenerException

releaseConnection

public void releaseConnection(java.sql.ResultSet rs,
                              java.sql.PreparedStatement ps)
                       throws InboxListenerException
Returns:
Connection
Throws:
SeccException
InboxListenerException

releaseConnection

public void releaseConnection(java.sql.PreparedStatement ps)
                       throws InboxListenerException
Returns:
Connection
Throws:
SeccException
InboxListenerException

releaseConnection

public void releaseConnection(java.sql.PreparedStatement ps1,
                              java.sql.PreparedStatement ps2)
                       throws InboxListenerException
Returns:
Connection
Throws:
SeccException
InboxListenerException


Copyright © 2003-2006 Funambol.