Continuous Query Notification
From: Charlotte Hammond <"Charlotte>
Date: Wed, 6 Oct 2021 14:20:36 +0000 (UTC)
Message-ID: <170555242.235885.1633530036346_at_mail.yahoo.com>
Date: Wed, 6 Oct 2021 14:20:36 +0000 (UTC)
Message-ID: <170555242.235885.1633530036346_at_mail.yahoo.com>
Hello All,
I'm writing a small Java app using CQN based on the following example: https://docs.oracle.com/en/database/oracle/oracle-database/19/jjdbc/continuos-query-notification.html#GUID-17D0D7C5-77C9-420D-9D13-F668C1056792
It works fine, except if the connection is lost (e.g. network drops, database shuts down) etc. in which case it just waits forever. Is there any way for it to detect that the connection is no longer valid and fail? (JDBC 19.10, Oracle 19.10, Java 1.8) Thank You!Charlotte
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Oct 06 2021 - 16:20:36 CEST