通过使用数据库连接池实现了,你可以使用如下代码: Driver driver=System.Manager.getDriver Connection conn=driver.getConnection() conn.query("select * from table")