In order to connect to SQL database through JDBC, native JAVA bindings are needed. Although Siren Platform ships native JAVA bindings for MacOS, Linux, and Windows, it may happen that the version of some native library dependency is too old/recent. To go around this, you can compile the bindings on your machine:

1

2

3

4

5

6

7

8

9

# Check that you are running the correct node version

$ node -v

$ cat package.json

 

# Remove the JDBC node module

$ rm -rf node_modules/jdbc

 

# Recompile the JDBC node module

$ npm install jdbc@0.1.6 # Verify the version of the JDBC module in package.json