-
Notifications
You must be signed in to change notification settings - Fork 51
Add a JDBC module #59
Copy link
Copy link
Closed
Labels
Description
There are some databases out there without native Node.js drivers, and it'd be better to have a way to use them that takes advantage of the power of Java.
Create a "trireme-jdbc" NPM module that is backed by a native Java module that exposes JDBC. At the very least, it should:
- Allow connections to any JDBC driver in the class path using the usual convention of a JDBC URL.
- Support common properties on the connection
- Support prepared statements, wildcards, and other basic ways of executing queries
- Can return query results to an EventListener as in a stream
It's debatable whether this should support connection pooling -- if it does not, then we will need another Node.js module to do that part.
Reactions are currently unavailable