Skip to content
Snippets Groups Projects
Commit 5c38b39e authored by Daniel Hornung's avatar Daniel Hornung
Browse files

FIX: Fixed SQL errors.

parent a47a3aad
No related branches found
No related tags found
2 merge requests!66REL: prepare release 0.8.0,!62Fix large integer queries
Pipeline #24669 failed
......@@ -23,6 +23,7 @@
package org.caosdb.server.query;
import static java.sql.Types.DOUBLE;
import static java.sql.Types.INTEGER;
import static java.sql.Types.VARCHAR;
import static org.caosdb.server.database.DatabaseUtils.bytes2UTF8;
......@@ -280,6 +281,9 @@ public class POV implements EntityFilterInterface {
callPOV.setInt(7, vIntSubst);
callPOV.setDouble(8, this.vDouble);
}
} else {
callPOV.setNull(7, INTEGER);
callPOV.setNull(8, DOUBLE);
}
if (this.unit != null) {
final long unitSig = this.unit.getSignature();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment