JDBC Flashcards
1
Q
Establish Connection
A
Connection conn = DriverManager.getConnection(“url”,”username”,”password”)
2
Q
New Statement
A
Statement state = new Statement(“Statement”);
3
Q
execute multiple statements at a time
A
addBatch()
executeBatch();