Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. ODP.Net Vs OleDb

ODP.Net Vs OleDb

Scheduled Pinned Locked Moved Database
csharpdatabaseoraclevisual-studioquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    V 0
    wrote on last edited by
    #1

    Dear, I'm looking for a good comparison between ODP.Net and OleDb for Oracle. So far on google I only found contradictory information on forums where one claims that ODP is faster while the other claims the opposite. Why would you use ODP over OleDb or vice versa? Additionally I know that OleDb uses the MDAC (now Windows DAC) layer to talk to the database (correct?), is this also the case for ODP? many thanks.

    V.

    D 1 Reply Last reply
    0
    • V V 0

      Dear, I'm looking for a good comparison between ODP.Net and OleDb for Oracle. So far on google I only found contradictory information on forums where one claims that ODP is faster while the other claims the opposite. Why would you use ODP over OleDb or vice versa? Additionally I know that OleDb uses the MDAC (now Windows DAC) layer to talk to the database (correct?), is this also the case for ODP? many thanks.

      V.

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      ODP is good. Unless you have differences between your development and production computer. ODP is different for 32 and 64 bit for some weird reason. Other problem with ODP is that you have to dispose everything and I really mean everything you have created or your server would be down after some duration. Other than that, I believe it is fine. I do not have a material to read though. This is just by the personal experience of.

      V 1 Reply Last reply
      0
      • D dan sh

        ODP is good. Unless you have differences between your development and production computer. ODP is different for 32 and 64 bit for some weird reason. Other problem with ODP is that you have to dispose everything and I really mean everything you have created or your server would be down after some duration. Other than that, I believe it is fine. I do not have a material to read though. This is just by the personal experience of.

        V Offline
        V Offline
        V 0
        wrote on last edited by
        #3

        d@nish wrote:

        Other problem with ODP is that you have to dispose everything and I really mean everything you have created or your server would be down after some duration.

        What do you mean exactly, clean up the resources?

        V.

        D 1 Reply Last reply
        0
        • V V 0

          d@nish wrote:

          Other problem with ODP is that you have to dispose everything and I really mean everything you have created or your server would be down after some duration.

          What do you mean exactly, clean up the resources?

          V.

          D Offline
          D Offline
          dan sh
          wrote on last edited by
          #4

          ODP uses a lot of unmanaged code so unless you dispose every object, they will be lying around like forever. Make sure you dispose every ODP object. For connection, close and then dispose. For command, dispose each parameter explicitly.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups