Is there any way to set socket timeouts?
Roman Rokytskyy answers:
-Yes, the property is called so_timeout and is directly passed when the socket is opened (see Socket.setSoTimeout documentation). You can append the property to the JDBC URL after question mark:
jdbc:firebirdsql:myhost/3050:/path/to/db.fdb?so_timeout=12345
I added this feature on request for some very special case. In general you don’t need this property, since the server is not supposed to crash and the network is not supposed to break as well, at least not for database applications. So, the solution is to solve the crash, not to add a workaround for it.