How should the connection retrieved from
"org.jahia.services.database.ConnectionDispenser.getConnection ()" be
closed (or should it be closed at all?
Thanks,
Jeremy
Serge Huber wrote:
Hi Jeremy,
You can retrieve the connection Jahia uses in the current thread
through the following call :
Connection connection =
org.jahia.services.database.ConnectionDispenser.getConnection ();
Regards,
Serge Huber.
Jeremy Torres wrote:
Is it possible to get a reference to the database connection pool
that Jahia uses? I would like a Java class, utilized within a
template, to get a database connection to the same database, where I
would have my own tables.
Thanks,
Jeremy