import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Time;

public class JI9050433 {

	public static void main(String[] args) throws SQLException {
		java.sql.Time time = new Time(42664666); //   17:21:04.666
	    Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/GENERAL", "root", "root");
	    PreparedStatement stmt = conn.prepareStatement("INSERT INTO myfractest VALUES (?) ");
	    stmt.setTime(1, time);
	    int i = stmt.executeUpdate();
	    System.out.println(i); 

	}

}
