SQL query from application layer is failing intermittently
SQL query getting executed from application layer(Weblogic), is failing intermittently and running fine on another call.
Was not being able to reproduce the same by directly executing on the DB server.
Investigation and tracing for the query captured this in the trace log.
Query has 2 bind variables and when the query fails the value in second bind seems to be corrupted.
DB : 12.2.0.1
Bind#0
oacdty=02 mxl=22(22) mxlc=00 mal=00 scl=00 pre=00
value=-360
Bind#1
oacdty=02 mxl=22(22) mxlc=00 mal=00 scl=00 pre=00
value=###
An invalid number has been seen.Memory contents are :
Dumping '' addr=0x7f4e5c205460 size=2 bytes