ORA-24406: API mode switch is disallowed when a call is in progress.
Cause: A mode switch from OCI8 to OCI7 was attempted in a callback.
Action: The user should perform the API mode switch either prior to initiating the top call or after the main call is done.
ORA-24406:当呼叫正在进行时,API模式切换是不允许的。
1.检查是否有任何调用者正在对某个API调用,如果有,必须要等调用者完成调用后再去改变API模式。
2.需要完全确保没有该元素正在调用,然后才可以进行API模式切换。
3.完成模式切换后,建议再次检查一次,确保模式已经正确地被切换。