Description
When using the juice JPA module, the configuration is read from `james-database.properties` by the JPAConfiguration class. In doing so it creates `openjpa.*` properties which are then consumed by the entity manager factory.
Among these properties `openjpa.ConnectionFactoryProperties` is used to configure the underlying apache dbcp connection pool.
While it is already aware of some properties, it doesn't allow for configuring the `MaxTotal` which is at 8 by default (my quota is 5 )
The list and use of all the properties is documented at https://commons.apache.org/proper/commons-dbcp/configuration.html
Adding parsing for more properties is pretty easy and could be a nice entry point to beginner contributors even though I couldn't figure out how to run the tests within my IDE
Attachments
Issue Links
- links to