提交 b52e1a19 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 c1ae7eb5
......@@ -283,13 +283,6 @@ public class JdbcConnection extends TraceObject implements Connection {
* rolled back.
*/
public synchronized void close() throws SQLException {
closeConnection();
}
/**
* INTERNAL
*/
public void closeConnection() throws SQLException {
try {
debugCodeCall("close");
if (executingStatement != null) {
......@@ -1269,6 +1262,7 @@ public class JdbcConnection extends TraceObject implements Connection {
}
/**
* INTERNAL.
* Check if this connection is closed.
* The next operation is a read request.
*
......@@ -1289,7 +1283,7 @@ public class JdbcConnection extends TraceObject implements Connection {
}
/**
* INTERNAL
* INTERNAL.
* Check if this connection is closed.
*
* @param write if the next operation is possibly writing
......
......@@ -858,6 +858,7 @@ public class JdbcStatement extends TraceObject implements Statement {
}
/**
* INTERNAL.
* Check if the statement is closed.
*
* @param write if the next operation is possibly writing
......@@ -879,6 +880,7 @@ public class JdbcStatement extends TraceObject implements Statement {
}
/**
* INTERNAL.
* Close and old result set if there is still one open.
*/
protected void closeOldResultSet() throws SQLException {
......@@ -893,7 +895,13 @@ public class JdbcStatement extends TraceObject implements Statement {
updateCount = -1;
}
}
/**
* INTERNAL.
* Set the statement that is currently running.
*
* @param c the command
*/
protected void setExecutingStatement(CommandInterface c) {
conn.setExecutingStatement(c == null ? null : this);
executingCommand = c;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论