Jean Helou created JAMES-3877:

             Summary: Allow to configure jpa pool max connections in juice 
                 Key: JAMES-3877
             Project: James Server
          Issue Type: Improvement
          Components: jpa
            Reporter: Jean Helou

When using the juice JPA module, the configuration is read from 
`` by the JPAConfiguration class. In doing so it 
creates `openjpa.*` properties which are then consumed by the entity manager 

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 

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

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to