Skip to content
Snippets Groups Projects
Unverified Commit c86f9b42 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

BUG: POV with negitve value throws exc

parent a7c6b03e
No related branches found
No related tags found
No related merge requests found
...@@ -329,7 +329,7 @@ public class POV implements EntityFilterInterface { ...@@ -329,7 +329,7 @@ public class POV implements EntityFilterInterface {
query.getConnection().prepareCall("call initPOVRefidsTable(?,?)")) { query.getConnection().prepareCall("call initPOVRefidsTable(?,?)")) {
// stmt = this.connection.prepareCall("call initPOV(?,?,?,?,?)"); // stmt = this.connection.prepareCall("call initPOV(?,?,?,?,?)");
// initPOVRefidsTable(in vInt INT, in vText VARCHAR(255)) // initPOVRefidsTable(in vInt INT, in vText VARCHAR(255))
if (this.vInt != null) { if (this.vInt != null && this.vInt > 0) {
stmt.setInt(1, this.vInt); stmt.setInt(1, this.vInt);
} else { } else {
stmt.setNull(1, Types.INTEGER); stmt.setNull(1, Types.INTEGER);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment