public class NjConn
extends Object
修飾子とタイプ | メソッドと説明 |
---|---|
void |
close()
接続をプールに戻す
|
void |
commit()
接続をコミットする
|
PreparedStatement |
createPreparedStatement(String sql)
PreparedStatementの作成
|
Statement |
createStatement()
Statementの作成
|
void |
dispose()
接続を廃棄する
|
void |
rollback()
接続をロールバックする
|
void |
startTimer()
タイマスレッドを起動する
|
public NjConn(NjPool njPool, Connection connection, int timeout) throws Exception
njPool
- NjPoolconnection
- 接続timeout
- タイムアウトException
public Statement createStatement() throws Exception
Exception
public PreparedStatement createPreparedStatement(String sql) throws Exception
Exception
public void startTimer()
public void close() throws Exception
Exception
public void dispose()
public void commit() throws Exception
Exception
public void rollback() throws Exception
Exception