How we cast a string into time type with mysql in java So String------->java.sql.time
thanks.
You can use this code:
java.sql.Time.parse("String");
But that's deprecated, and replaced by DateFormat Parse.