Skip to content

Releases: VilledeMontreal/knex

between 0.15.2 and 0.15.3 which includes impersonation and oracle native pooling (issue#2660)

02 Dec 22:43
Compare
Choose a tag to compare

Includes a knex version between 0.15.2 and 0.15.3 which includes:

  • impersonation (.options({}) operator)
  • oracle native pooling

/lib folder was exceptionnaly included in this release since npm install requires it. Otherwise, npm install would give compilation error.
Edit (2018-12-03): precommit hook prevented files in /lib from being added. Use the previous release which has a tarball with /lib included.

How to install:

npm install villedemontreal/knex#0.15.2-alpha.2660

Issue:

  • Any ?

How to config

Recommended:

  • Set min: 0 in pool config
    • Required so to really let oracle handle the pool and avoid knex checkout connection and never checkin it (without that, knex would let die his connection and give an error)
  • Set max the same as poolMax and poolMin in pool config
    • Required to avoid connection storm, as per oracle recommendation
  • min/max: Still used for knex's pool config (yes there is still a knex pool for the moment)
  • poolMin/poolMax: oracle's pool config (which is set in pool.options). Other pool creation params can be set in pool.options

between 0.15.2 and 0.15.3 which includes impersonation and oracle native pooling (issue#2660)

15 Nov 16:50
Compare
Choose a tag to compare

Includes a knex version between 0.15.2 and 0.15.3 which includes:

  • impersonation (.options({}) operator)
  • oracle native pooling

How to install:

npm install villedemontreal/knex#0.15.2-2660.1.0

Issue:

  • npm install above does not build the lib folder in node_modules/knex which gives compilation error
  • installing from feature-issue-2660-with-impersonation.tar.gz below (which includes src AND lib) should solve the problem

How to config

Recommended:

  • Set min: 0 in pool config
    • Required so to really let oracle handle the pool and avoid knex checkout connection and never checkin it (without that, knex would let die his connection and give an error)
  • Set max the same as poolMax and poolMin in pool config
    • Required to avoid connection storm, as per oracle recommendation
  • min/max: Still used for knex's pool config (yes there is still a knex pool for the moment)
  • poolMin/poolMax: oracle's pool config (which is set in pool.options). Other pool creation params can be set in pool.options