|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Connection con;
Statement stmt; con = DriverManager.getConnection(url, username, password); stmt = con.createStatement(); stmt.executeUpdate("INSERT INTO COFFEES " + "VALUES ('Colombian', 101, 7.99, 0, new java.sql.Date(System.CurrentTimeMillis()))"); ------------------ Liu Shuquan |
|
#2
|
|||
|
|||
|
Can you help me...? right now i do the java programming ..my problem is how i do want to connect to mysql database (local..in same machine) ? Does mysql support ODBC or must i using the other jdbc drivers?
|
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > how to insert java.sql.data into database |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|