Yelling About Software

A rageblog about software in the style of Web 0.9

1-based Indices in JDBC PreparedStatements

2014-12-20

From the JDBC docs for setting bind variables:

parameterIndex - the first parameter is 1, the second is 2, …

Apparently someone forgot that we were writing software here? THE FIRST PARAMETER SHOULD ALWAYS BE 0! Fuck off.

Home - All posts - Contact - Atom feed - Last updated: 2023-12-28 20:44 UTC