PL/SQL (MOSC)

MOSC Banner

Oracle stored proc call fails from db link when called from Java application

edited Feb 13, 2012 8:38AM in PL/SQL (MOSC) 4 commentsAnswered
We are facing following issue:

There are two oracle DB's db1 and db2.

There is a package in DB1 which calls a procedure from DB2, the procedure gets called successfully when executed directly from sqlplus environment but throws following error message when called from Java web application:

 

java.sql.SQLException: ORA-01867: the interval is invalid
ORA-06512: at "PKG", line 117
ORA-06512: at "PKG", line 196
ORA-06512: at line 1
"Name of the package is intentionally changed to "PKG"

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center