[opencms-dev] DATA BASE CONNECTION POOL IN OPENCMS
Alexander Wallace
aw at avatartechnology.com
Tue May 10 17:36:59 CEST 2005
The help was mutual :) Thanks!
On Tuesday 10 May 2005 10:19 am, Sebastian Himberger wrote:
> 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
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list