一种方法就是使用(包含了所有操作类的)actions视图下的子包。
One way is to use a sub-package under a view named Actions where all your action classes reside.
这个解决方案对所有数据库操作使用JdbcQuery帮助类。
This solution USES the JdbcQuery helper class for all database operations.
我们为何仍然需要一个“传统”连接的理由是所有其他JDBC操作和类(Statement、ResultSet…)都基于或使用Connection对象。
The reason why we still need a "traditional" connection is the fact, that all other JDBC operations and classes (Statement, ResultSet,...) are based on or using a connection object.
应用推荐