Difference Between <SQL ISVALID> And <SQL SELECT 1 FROM DUAL> When Datasource Is Testing DB Connection

(Doc ID 2236149.1)

Last updated on FEBRUARY 27, 2017

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


To test database connection, [SQL SELECT 1 FROM DUAL] is used before WLS 12.1.2 and [SQL ISVALID] is used from WLS 12.1.3.

What is the difference between them?


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms