Prepare
Posted: Tue 07 Jun 2016 04:59
Hi,
I watched network traffic and figured out that OracleCommand.Prepare is called for each command even when I don't call the Prepare function. So prepare and command generated two different calls to the database although Oracle is supporting to send Prepare and the command itself within one database call. So my questions are - how can I eliminate the unneccessary prepare call and when I need it in certain cases, is there a possibility to send prepare and the command within one single call to the database?
regards
Karl
I watched network traffic and figured out that OracleCommand.Prepare is called for each command even when I don't call the Prepare function. So prepare and command generated two different calls to the database although Oracle is supporting to send Prepare and the command itself within one database call. So my questions are - how can I eliminate the unneccessary prepare call and when I need it in certain cases, is there a possibility to send prepare and the command within one single call to the database?
regards
Karl