Oracle Solution for Error ora-21707

Solution for Oracle Error ORA-21707

ORA-21707: pin duration is longer than allocation duration

What triggered the Error:

e pin duration supplied by the user is longer than the allocation duration. This affects operations such as pinning and setting default parameters.

What should we do to fix it:

er should use a shorter pin duration or use the null duration.