[opencms-dev] DATA BASE CONNECTION POOL IN OPENCMS
Sebastian Himberger
sebastian.himberger at gmx.de
Tue May 10 17:19:53 CEST 2005
Hi
Tested in OpenCms 6 Beta 3
Example of a JSP:
<%@page import="java.sql.*,org.OpenCms.db.*,org.OpenCms.main.*"%>
<%
java.sql.Connection con =
OpenCms.getSqlManager().getConnection(CmsDbPool.getDefaultDbPoolName());
// do something
con.close();
%>
Thanks for telpochyaotl for helping finding this solution.
HTH
Sebastian
More information about the opencms-dev
mailing list