提交 565b992d authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation and formatting.

上级 de10ab7d
...@@ -64,7 +64,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat ...@@ -64,7 +64,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat
protected CommandInterface command; protected CommandInterface command;
private final String sqlStatement; private final String sqlStatement;
private ArrayList<Value[]> batchParameters; private ArrayList<Value[]> batchParameters;
private HashMap<String, Integer> cachedColumnLabelMap = null; private HashMap<String, Integer> cachedColumnLabelMap;
JdbcPreparedStatement(JdbcConnection conn, String sql, int id, int resultSetType, JdbcPreparedStatement(JdbcConnection conn, String sql, int id, int resultSetType,
int resultSetConcurrency, boolean closeWithResultSet) { int resultSetConcurrency, boolean closeWithResultSet) {
...@@ -78,7 +78,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat ...@@ -78,7 +78,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat
* Looking up the column index can sometimes show up on the performance profile, * Looking up the column index can sometimes show up on the performance profile,
* so cache the map. * so cache the map.
*/ */
void setCachedColumnLabelMap( HashMap<String, Integer> cachedColumnLabelMap) { void setCachedColumnLabelMap(HashMap<String, Integer> cachedColumnLabelMap) {
this.cachedColumnLabelMap = cachedColumnLabelMap; this.cachedColumnLabelMap = cachedColumnLabelMap;
} }
...@@ -1075,6 +1075,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat ...@@ -1075,6 +1075,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements PreparedStat
/** /**
* Executes the batch. * Executes the batch.
* If one of the batched statements fails, this database will continue.
* *
* @return the array of update counts * @return the array of update counts
*/ */
......
...@@ -91,7 +91,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet { ...@@ -91,7 +91,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
private Value[] updateRow; private Value[] updateRow;
private HashMap<String, Integer> columnLabelMap; private HashMap<String, Integer> columnLabelMap;
private HashMap<Integer, Value[]> patchedRows; private HashMap<Integer, Value[]> patchedRows;
private JdbcPreparedStatement preparedStatement = null; private JdbcPreparedStatement preparedStatement;
JdbcResultSet(JdbcConnection conn, JdbcStatement stat, ResultInterface result, int id, JdbcResultSet(JdbcConnection conn, JdbcStatement stat, ResultInterface result, int id,
boolean closeStatement, boolean scrollable, boolean updatable) { boolean closeStatement, boolean scrollable, boolean updatable) {
......
...@@ -593,6 +593,7 @@ public class JdbcStatement extends TraceObject implements Statement { ...@@ -593,6 +593,7 @@ public class JdbcStatement extends TraceObject implements Statement {
/** /**
* Executes the batch. * Executes the batch.
* If one of the batched statements fails, this database will continue.
* *
* @return the array of update counts * @return the array of update counts
*/ */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论