Connecting Oracle using ODP.NET with Enterprise Library DAAB

后端 未结 2 882
-上瘾入骨i
-上瘾入骨i 2021-01-15 19:58

Our application is using Enterprise Library DAAB to support both oracle and sql databases.

One of the Stored Procedure is for uploading Image to Table. It\'s a BLO

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-15 20:45

    Bit late on this, but I can't see a good reason why the responder suggested the use of EL3.1 That is very out of date - 5 is the latest version (and was out for almost 2 years before this post) and the OP was using 4.1 according to the code sample. It is much simpler to use ODP with EL5 (have done so myself, utilising the EntlibContrib project) and although I cannot speak for any potential issues with parameter sizes as we do not use BLOBs, EntlibContrib natively allows the use of the OracleDbType so I think it probably wouldn't be a problem.

    Just in case anyone stumbles on this post wondering how to get EL5 and ODP playing nicely with minimum fuss I can supply details - PM me.

提交回复
热议问题