Failed on insert row using CachedRowSet
问题 I am using CachedRowSetImpl , I can get data from Database , BUT I can not insert . this is the Code : public class NewClass { static final String DATABASE_URL = "jdbc:derby://localhost:1527/TaskDB;create=true"; static final String USERNAME = "user"; static final String PASSWORD = "user"; public static void main (String [] agr) throws SQLException { CachedRowSetImpl rs = new CachedRowSetImpl(); rs.setUrl(DATABASE_URL); rs.setUsername(USERNAME); rs.setPassword(PASSWORD); rs.setCommand("SELECT