BoneCP has a few configuration options that need to be set. As you perform monitoring on your database to obtain the best possible performance, you will find that some of the values below will require some tuning as per your application needs. Keep in mind that besides the obvious database performance issues, a poorly configured connection pool can consume a considerable amount of CPU time which will slow your application down. Note: BoneCP never spin-locks to obtain or release a connection.
Hereunder is a list of some of the available properties, please refer to the configuration sub-sections for examples for use in Spring/Hibernate.