Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
出于某种原因,当我从 Java 制作 Derby 数据库时,它可以工作一段时间,但随后我无法访问这些表(好像它们已被删除)。我对这些表所做的大部分工作都是查询它们。除此之外,我向它们添加数据。我试过打电话解决这个问题statement.executeUpdate("autocommit off");,然后statement.executeUpdate("rollback");有没有其他人遇到过同样的问题?如果是这样,你找到任何原因了吗?
statement.executeUpdate("autocommit off");
statement.executeUpdate("rollback");