建立JDBC應用步驟:

conn.setAutoCommit(false);
try {
Statement stmt=conn.createStatement();
stmt.execute (sql);
conn.commit();
} catch (SQLException e1) {
建立JDBC應用步驟:
conn.setAutoCommit(false);
try {
Statement stmt=conn.createStatement();
stmt.execute (sql);
conn.commit();
} catch (SQLException e1) {