parameter index → parameter number (starts with 1 v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat, 12 Apr 2014 20:01:42 +0200
branchv_0
changeset 1769aa00e214020
parent 175 125d5805c5d8
child 177 5cc7fdad1452
parameter index → parameter number (starts with 1
)
java/jdbc-loopback-driver/src/info/globalcode/jdbc/loopback/PreparedStatement.java
     1.1 --- a/java/jdbc-loopback-driver/src/info/globalcode/jdbc/loopback/PreparedStatement.java	Sun Apr 06 23:33:09 2014 +0200
     1.2 +++ b/java/jdbc-loopback-driver/src/info/globalcode/jdbc/loopback/PreparedStatement.java	Sat Apr 12 20:01:42 2014 +0200
     1.3 @@ -36,8 +36,8 @@
     1.4  	private final ResultSetMetaData metadata = new ResultSetMetaData();
     1.5  
     1.6  	@Override
     1.7 -	public void setObject(int parameterIndex, Object data, int targetSqlType) throws SQLException {
     1.8 -		parameters.put(parameterIndex, new ObjectParameter(data, targetSqlType));
     1.9 +	public void setObject(int parameterNumber, Object data, int targetSqlType) throws SQLException {
    1.10 +		parameters.put(parameterNumber, new ObjectParameter(data, targetSqlType));
    1.11  	}
    1.12  
    1.13  	@Override