code: public static java.sql.Time getSqlTime(int hour, int minute, int second) {
          Calendar cal = Calendar.getInstance();
          cal.setTime(new java.util.Date(0));
          cal.set(Calendar.HOUR_OF_DAY, hour);
          cal.set(Calendar.MINUTE, minute);
          cal.set(Calendar.SECOND, second);
          cal.set(Calendar.MILLISECOND, 0);
  
          return getSqlTime(cal.getTime());
      }
docs: Get SQL Time(java.sql.Time) from supplied parameters
  
  @param hour
  @param minute
  @param second
  @return