another attempt at fixing binding instants

This commit is contained in:
Tim Chamberlain
2023-03-13 20:39:23 -05:00
parent e0f5c3ff49
commit ffc574e83f

View File

@ -739,7 +739,7 @@ public class QueryManager
} }
else if(value instanceof Instant i) else if(value instanceof Instant i)
{ {
statement.setString(index, i.toString().replaceAll("T", " ").replaceAll("Z", "")); statement.setObject(index, i);
return (1); return (1);
} }
else if(value instanceof LocalDate ld) else if(value instanceof LocalDate ld)