code: @SuppressWarnings("deprecation")
      public static java.sql.Time toSqlTime(LocalTime time) {
          return new java.sql.Time(time.getHour(), time.getMinute(), time.getSecond());
      }
docs: Converts a {@code LocalTime} to a {@code java.sql.Time}.
  
  @param time  the local time, not null
  @return the SQL time, not null