datanucleus/datanucleus-rdbms — pull request #5 by nbartels (2014-07-23 18:20:37+00:00)
Title: setMaxTotal added as "pool max active" for DBCP2

the max total value is the maximum amount of active connections. On high load we get max total connections and the min and max idle values are ignored. On low load the idle configuration is respected.

In my opinion setMaxTotal is the correct method.