Unnecessary "select * from dual;" Statements When JDBC 10.1.x is Used With OC4J

(Doc ID 359928.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version: to - Release: AS10g to AS10gR2
Information in this document applies to any platform.
***Checked for relevance on 23-Dec-2011***


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?


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