AW: [opencms-dev] Re: DBConnnection
Petr Hollay
ph at ethikom.de
Tue Feb 24 12:10:07 CET 2004
Hi,
you can read properties from file opencms.properties using OpenCms standard
functionality - CmsObject.getConfigurations().
Read and use "pool.mysql.url" key.
Best regards
Petr
-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org] Im
Auftrag von MichalDzirba
Gesendet: Dienstag, 24. Februar 2004 10:35
An: opencms-dev at opencms.com
Betreff: [opencms-dev] Re: DBConnnection
> AFAIK edit opencms.properties in your opencms.war file.
Could You please elaborate? I am in progress of writing a module and
need a connection from a pool used by opencms, so that i can get data
from my own tables without worrying about things such as - where what
type the db is or the user and passwd needed to connect to it.
I fail to see how to edit the file so that i can achieve that.
Thanks again
Michal.
_______________________________________________
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