M marconotsopolo Member Licensed User Longtime User Mar 17, 2023 #1 What would be the best way of handling this error in the jRDC2 server when a clients connection is interrupted to the server?. I have the usual try/catch on the outputstream.writebytes but still seems to be happening, it's intermittent with connections and then is normally followed by (SQLException) java.sql.SQLException: rollback() should not be called while in auto-commit mode. which is expected if the SQL isn't able to complete the transaction I assume. Any suggestions would be welcome.
What would be the best way of handling this error in the jRDC2 server when a clients connection is interrupted to the server?. I have the usual try/catch on the outputstream.writebytes but still seems to be happening, it's intermittent with connections and then is normally followed by (SQLException) java.sql.SQLException: rollback() should not be called while in auto-commit mode. which is expected if the SQL isn't able to complete the transaction I assume. Any suggestions would be welcome.
Erel B4X founder Staff member Licensed User Longtime User Mar 19, 2023 #2 You should expect clients to disconnect abruptly. As long as the database isn't modified then there isn't anything else you need to do. Upvote 0
You should expect clients to disconnect abruptly. As long as the database isn't modified then there isn't anything else you need to do.