0.0
No commit activity in last 3 years
No release in over 3 years
Addon to support bonecp database pools in Trinidad
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0.10
>= 2.10

Runtime

 Project Readme

Trinidad BoneCP Database Pool

Trinidad extensions that support the BoneCP (http://jolbox.com/) connection pool library.

The code is based on the Trinidad DBPool extension (https://github.com/trinidad/trinidad_dbpool_extension).

Usage

The configuration is modeled after the trinidad_dbpool_extension.

  • Install the gem e.g. jruby -S gem install trinidad_generic_bonecp_extension
  • Configure the pool with Trinidad's configuration file e.g. :
---
  extensions:
    generic_bonecp:                          # EXTENSION NAME AS KEY
      jndi: 'jdbc/MyDB'                      # JNDI name
      url: 'jdbc:db2://127.0.0.1:50000/MYDB' # specify full jdbc: URL
      username: 'mydb'                       # database username
      password: 'pass'                       # database password
      driverPath: '/opt/IBM/DB2/db2jcc4.jar' # leave out if on class-path
      driverName: com.ibm.db2.jcc.DB2Driver  # resolved from driverPath jar

Copyright

Copyright (c) 2013 Chris Parker. See LICENSE (http://en.wikipedia.org/wiki/MIT_License) for details.