mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Checkpoint - working versions of streamed with frontend processes, with validation
This commit is contained in:
@ -746,12 +746,14 @@ public class QueryManager
|
||||
}
|
||||
else if(value instanceof LocalDate ld)
|
||||
{
|
||||
@SuppressWarnings("deprecation")
|
||||
java.sql.Date date = new java.sql.Date(ld.getYear() - 1900, ld.getMonthValue() - 1, ld.getDayOfMonth());
|
||||
statement.setDate(index, date);
|
||||
return (1);
|
||||
}
|
||||
else if(value instanceof LocalTime lt)
|
||||
{
|
||||
@SuppressWarnings("deprecation")
|
||||
java.sql.Time time = new java.sql.Time(lt.getHour(), lt.getMinute(), lt.getSecond());
|
||||
statement.setTime(index, time);
|
||||
return (1);
|
||||
|
Reference in New Issue
Block a user