Skip to content

Commit

Permalink
Fixed compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
bgaidioz committed Aug 27, 2024
1 parent 14e76fe commit 5b1403f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.time.temporal.ChronoField;

public class JdbcQuery {

Expand Down Expand Up @@ -184,7 +185,7 @@ TimeObject getTime(String colName, Node node) {
// Extract the actual milliseconds.
long millis = asMillis % 1000;
// Fix the LocalTime milliseconds.
LocalTime localTime = withoutMilliseconds.with(ChronoField.MILLI_OF_SECOND, millis);
java.time.LocalTime localTime = withoutMilliseconds.with(ChronoField.MILLI_OF_SECOND, millis);
return new TimeObject(localTime);
} catch (SQLException e) {
throw exceptionHandler.columnParseError(e, colName, node);
Expand Down

0 comments on commit 5b1403f

Please sign in to comment.