[opencms-dev] Problem with acquiring database connection in OpenCMS 6

N ngds at mail.ru
Mon Dec 27 16:52:15 CET 2004


Dear All,

I have the following problem. I am developing a module for OpenCMS 6 alpha 3. I need to acquire a Connection object to connect to the database, OpenCMS uses.

I can use classes from java.net.* package and create the connection using properties got from OpenCMS configuration, but I would like to use a standard OpenCMS method to do it.

I have looked through the source code of OpenCMS 6 alpha 3, but I have not found a method, I can use.

Can you please tell me, what standard method I should use to acquire a Connection?

Best regards,
Nikolay



More information about the opencms-dev mailing list