com.jaxfront.core.util.io
Interface IConnectionManager


public interface IConnectionManager


Method Summary
 void close(java.sql.Connection con)
           
 void close(java.sql.Statement stmnt)
           
 int executeSQL(java.lang.String query)
           
 java.lang.String getApplicationContext()
           
 java.util.Date getCommonServerDate()
           
 long getCommonServerTime()
           
 java.sql.Timestamp getCommonServerTimeStamp()
           
 java.sql.Connection getConnection(java.lang.String conInfoId)
           
 java.sql.Connection getConnection(java.lang.String conInfoId, boolean register)
           
 java.lang.String getContext()
           
 IDBInfo getDataBaseInfo()
           
 java.sql.PreparedStatement prepareStmnt(java.sql.Connection con, java.lang.String sql)
           
 IResult queryDB(java.sql.PreparedStatement ps)
           
 java.sql.ResultSet queryDB2(java.sql.PreparedStatement ps)
           
 int queryUpdate(java.sql.PreparedStatement pstmt)
           
 

Method Detail

close

void close(java.sql.Connection con)

close

void close(java.sql.Statement stmnt)

executeSQL

int executeSQL(java.lang.String query)
               throws java.sql.SQLException
Throws:
java.sql.SQLException

getApplicationContext

java.lang.String getApplicationContext()

getCommonServerDate

java.util.Date getCommonServerDate()

getCommonServerTime

long getCommonServerTime()

getCommonServerTimeStamp

java.sql.Timestamp getCommonServerTimeStamp()

getConnection

java.sql.Connection getConnection(java.lang.String conInfoId)
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

getConnection

java.sql.Connection getConnection(java.lang.String conInfoId,
                                  boolean register)
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

getContext

java.lang.String getContext()

getDataBaseInfo

IDBInfo getDataBaseInfo()

prepareStmnt

java.sql.PreparedStatement prepareStmnt(java.sql.Connection con,
                                        java.lang.String sql)
                                        throws java.sql.SQLException
Throws:
java.sql.SQLException

queryDB

IResult queryDB(java.sql.PreparedStatement ps)
                throws java.sql.SQLException
Throws:
java.sql.SQLException

queryDB2

java.sql.ResultSet queryDB2(java.sql.PreparedStatement ps)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

queryUpdate

int queryUpdate(java.sql.PreparedStatement pstmt)
                throws java.sql.SQLException
Throws:
java.sql.SQLException