posted 11 years ago
As you can see from the JavaDoc, you can construct java.sql.Time from a millisecond time stamp. So you need to parse your String to milliseconds. Use SimpleDateFormat.parse(String) to get a Date instance, on which you can then call getTime().