sqlanywhere / node-sqlanywhere

SAP SQL Anywhere Database Client for Node
Apache License 2.0
38 stars 36 forks source link

connected() method returns true although Error -308? #31

Open CedricSch opened 5 years ago

CedricSch commented 5 years ago

Hi,

when my database connection gets terminated due to a database restart (or similar things) and I receive an -308 Connection was terminated Error, the connected() method still returns true. Is this intended behaviour ? Can I only get my current connection status if I catch the error messages?

Thanks in advance!

noelhibbard commented 5 years ago

I have this same issue on windows. Haven't tested on Linux yet.

taichauka commented 3 years ago

I also have the same problem on Windows

DanCummins-SAP commented 3 years ago

Hi all,

I opened issue number 266173 and we plan to look into it. https://sqlanywhere-forum.sap.com/ also hosts an active SQLA community.

Dan