When it is run with its JDBC configuration, a third party DataSource is used, and a 'destroy-method' is declared explicitly.
当它和JDBC配置一起运行的时候,会用到一个第三方DataSource,并且它显式声明了一个destroy-method。
It is also important to note the use of the destroy method.
注意destroy方法的使用也是比较重要的。
The connection is held open for the lifetime of the servlet, and is not closed until the servlet's destroy method gets called.
在Servlet的生存期中,该连接将保持打开状态,直到调用Servlet的destroy方法时才会关闭。
应用推荐