Skip to content

Commit

Permalink
Update LogLogic.java
Browse files Browse the repository at this point in the history
copy of 865f30f
  • Loading branch information
5V715 authored and geirsagberg committed Apr 21, 2024
1 parent 9e2fee3 commit 2239dc3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.time.Instant;
import java.util.*;
import javax.sql.DataSource;
Expand Down Expand Up @@ -132,7 +133,7 @@ public String getQueryPart() {

@Override
public void setParameters(MapSqlParameterSource p) {
p.addValue(varName, value);
p.addValue(varName, value == null ? null : Timestamp.from(value));
}
}

Expand Down

0 comments on commit 2239dc3

Please sign in to comment.