筆記:簡單三步使用JDBC RowSet (使用已有java.sql.Connection物件)
(Notes:Easy using JDBC RowSet with 3 steps (using java.sql.Connection object) )
CachedRowSetXImpl tuserRowSet = new CachedRowSetXImpl();
2. . .setCommand() //specify SQL command here
tuserRowSet.setCommand("select * from table");
3. query
tuserRowSet.executeQuery(connection);
沒有留言:
張貼留言