https://github.com/mrcsparker/trinidad_bonecp_extension
Bonecp database connection pool for Trinidad
https://github.com/mrcsparker/trinidad_bonecp_extension
Last synced: 2 months ago
JSON representation
Bonecp database connection pool for Trinidad
- Host: GitHub
- URL: https://github.com/mrcsparker/trinidad_bonecp_extension
- Owner: mrcsparker
- License: other
- Created: 2013-09-08T14:57:29.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-07-24T15:42:47.000Z (almost 8 years ago)
- Last Synced: 2025-03-14T20:16:42.595Z (3 months ago)
- Language: Ruby
- Size: 4.98 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this 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. :```yml
---
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](https://github.com/mrcsparker).
See LICENSE (http://en.wikipedia.org/wiki/MIT_License) for details.