Register Multiple Connection Pools
|Top Previous Next|
For this to work, you will need four things, a JDBC driver, two properly configured database properties files and the wickedfastsolutions connection pool in your classpath. The wickedfastsolutions connection pool is considered part of the dependencies and are already included in the generated dist/jar files.
- JDBC driver (appropriate for your database)
- doc/database.properties as (transactional.properties)
- doc/database.properties as (reporting.properties)
- dist/classes.jar (most likely already on your classpath)
NOTE: THE OBJECTFACTORY FOR REGISTERING THE CONNECTION POOL IS IN THE
COMMONS POOL COMPONENT NOT IN THE OBJECTFACTORY OF YOUR DOMAIN MODEL.