Hitachi

uCosminexus Application Server Compatibility Guide


9.2.4 Estimating the number of DB Connector connections

This section describes the estimation of the DB Connector resources required for using Cosminexus JPA Provider.

With Cosminexus JPA Provider, you obtain the DB Connector connections. The formula for estimating the number of connections used by Cosminexus JPA Provider is as follows:

Formula for estimating the number of connections

Number of connections used by the Cosminexus JPA Provider applications

= Number of concurrent executions of applications using the JPA functionality #

# In the applications using the JPA functionality, when EntityManager of multiple persistence units is used or when the transactions used by EntityManager for invoking the business methods are different, a connection is required for each EntityManager.

Important note

When the user acquires a connection separately from the JPA functionality, the number of connections can be reduced by using the connection sharing functionality. For details on connection sharing, see the manual uCosminexus Application Server Common Container Functionality Guide.