130131132133134135136137138139140
DbConnection con = pool.getConnection(); // create database DbStatement sthc = con.getStatement("create"); try { sthc.executeUpdate(null); con.commit(); } catch (Exception e) {e.printStackTrace();} DbStatement sth = con.getStatement("select"); try {
211212213214215216217218219220221
} // create database DbStatement sthc = con.getStatement("create2"); try { sthc.executeUpdate(null); con.commit(); } catch (Exception e) {e.printStackTrace();} int rows = 0;