My Oracle Support Banner

Unnecessary "select * from dual;" Statements When JDBC 10.1.x is Used With OC4J (Doc ID 359928.1)

Last updated on FEBRUARY 13, 2024

Applies to:

Oracle Containers for J2EE - Version 9.0.4.0.0 to 10.1.2.3.0 [Release AS10g to AS10gR2]
Information in this document applies to any platform.

Goal

When using a 10.1.x  JDBC driver with OC4J it is noticed that numerous "select 'x' from dual;" statements appear to be issued to the target RDBMS instance.

Is there any way we can eliminate, or reduce, the occurrence of this behaviour?

Solution

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
Goal
Solution

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