HSQLDB Statement and Java NaN doubles
问题 I'm currently using HSQLDB to save java data. Within theses datas, there are some Double, and some of them can be of values of NaN (described as 0.0/0.0 in the javadoc). HSQLDB know how to handle these values in setDouble and setFloat of PreparedStatement . The thing is, I have to use a Statement object, not a precompiled stored procedure, and I just can't find a way to make it work. If you had the tinyest hint, it would be most welcome :) Thanks. EDIT : Here's the bunch of code I'm using :