node-jdbc icon indicating copy to clipboard operation
node-jdbc copied to clipboard

pool.status() crashes with Java type mismatch error

Open juvation opened this issue 7 years ago • 0 comments

calling pool.status() results in the following error --

Error: Could not find method "isValid(java.lang.Integer)" on class "class org.postgresql.jdbc4.Jdbc4Connection". Possible matches: public boolean org.postgresql.jdbc4.Jdbc4Connection.isValid(int) throws java.sql.SQLException

-- the result of connStatus() calling conn.isValidSync(1000) - i think maybe the 1000 should be converted to a java.lang.Integer before passing.

juvation avatar Mar 15 '18 18:03 juvation