oracle / node-oracledb

Oracle Database driver for Node.js maintained by Oracle Corp.
http://oracle.github.io/node-oracledb/
Other
2.24k stars 1.07k forks source link

createPool() could support privilege: oracledb.SYSDBA #1657

Closed andylwelch closed 1 month ago

andylwelch commented 3 months ago
  1. Describe your new request in detail

Currently it is not possible to create a connection pool with privilege. Given individual connections accept this, it would be a nice to have option to streamline many requests in a pool.

  1. Give supporting information about tools and operating systems. Give relevant product version numbers

Thanks for your work, the v6 thin client is great!

sharadraju commented 3 months ago

Thanks for using node-oracledb Thin mode.

We will explore this!

sharadraju commented 1 month ago

@andylwelch This is now fixed in 6.5.1. Please Please verify and thank you for contributing!

andylwelch commented 1 month ago

Thanks @sharadraju . Yes I can confirm this is working now. I am no longer getting the error: Error: ORA-28009: connection as SYS should be as SYSDBA or SYSOPER

I didn't realise it was meant to be supported as the automatically included types docs I was clicking through to said;

I now realise these types are maintained independently.

Thanks again for your work!