[opencms-dev] Add custom jpa pool

lruggeri at maticad.it lruggeri at maticad.it
Fri Jul 26 11:41:31 CEST 2013


Hi,

i'd like to use jpa to access some tables in an external database already
accesible from openmcs.

How i can configure my jpa unit in order to use connection pooling provided
by opencms?

And how to get the EntityManager? It seems to me that
CmsSqlManager.createEntityManager does not support pooling.

 

Database configuration is now in opencms.properties file

Thanks

 

Bye, Lisa

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130726/500356b7/attachment.htm>


More information about the opencms-dev mailing list