2 Replies Latest reply: Nov 5, 2012 6:48 AM by 972394 RSS

    Database Object in concurrent environment

    972394
      Hi people.

      Is it correct to use one instance of Database object and corresponding SecondaryDatabases in multi-thread environment? Or I need to open database for each thread?

      Thanks,
      Volodymyr Grachov
        • 1. Re: Database Object in concurrent environment
          greybird
          Hi,

          One handle can be shared by multiple threads. This is described here:
          http://docs.oracle.com/cd/E17277_02/html/GettingStartedGuide/concurrentProcessing.html#multithreaded

          --mark                                                                                                                                                                                                                                                                                                                                                                                           
          • 2. Re: Database Object in concurrent environment
            972394
            Thanks Mark.