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

Documentation and formatting.

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