My Oracle Support Banner

Equivalent of JBOSS check-valid-connection-sql To Send a Keep Alive Ping Like 'select 1 from dual' (Doc ID 2744144.1)

Last updated on AUGUST 30, 2023

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


Is there any way to have a JDBC connection send a keep alive ping like 'select 1 from dual' to the database in the same way JBOSS application server does it with the configuration:

   <check-valid-connection-sql>SELECT 1 FROM DUAL</check-valid-connection-sql>



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.