I think this is due to jdbc.
I have a similar problem (missing parameter) when I have a condition like this:
a = :namedparameter and b = :namedparameter
This is normal when I like it:
a = :namedparameter and b = :namedparameter2 (the two param has the same value)
So this is a problem with named parameters. I think there is an error in handling named parameters, it seems that if only the first parameter gets the correct value, the second is not set by the driver classes. Perhaps this is not an error, only I donβt know something, but in any case, I assume that the reason for the difference between SQL-dev and sqlplus works for you, because, as far as I know, the SQL developer uses the jdbc driver.
source share