[opencms-dev] DATA BASE CONNECTION POOL IN OPENCMS

cherif multxt at free.fr
Tue May 10 17:37:23 CEST 2005


Many many thanks Sebastian !
I was nealy sho that i wil have no answer
Thanks again
by

----- Original Message ----- 
From: "Sebastian Himberger" <sebastian.himberger at gmx.de>
To: "The OpenCms mailing list" <opencms-dev at opencms.org>
Sent: Tuesday, May 10, 2005 5:19 PM
Subject: Re: [opencms-dev] DATA BASE CONNECTION POOL IN OPENCMS


> 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