mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved proxy.
This commit is contained in:
@@ -79,6 +79,9 @@ public abstract class PreparedStatementBase extends StatementBase implements Pre
|
||||
|
||||
@Override
|
||||
public void setInt(int parameterIndex, int x) throws SQLException {
|
||||
for (int i = parameters.size(); i < parameterIndex; ++i) {
|
||||
parameters.add(null);
|
||||
}
|
||||
parameters.add(parameterIndex - 1, x);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user