com.jaxfront.core.util.io
Interface IConnectionManager
public interface IConnectionManager
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