Is it possible to get ref cursor from oracle stored procedure by using DAAB from Microsoft Enterprise Library 4.1?
Returning ref cursor from oracle stored procedure by using DAAB from MS EntLib 4.1
4k Views Asked by afin At
2
There are 2 best solutions below
0
Praddeep
On
DAAB does not provide a capability for us to get the Ref Cursor. The issue is System.Data.Common does not have DbType.Cursor or DbType.RefCursor type. So, there is a bit of tweaking required in the DAAB 4.1 source code. Please follow the steps provided in the following link. It works like a piece of cake.
Related Questions in ORACLE
- Column displays each count
- MAX and GROUP BY - SQL
- Best Practice for adding columns to a Table in Oracle database
- Updating an Oracle row with value from same row
- Retrieving data from Oracle database
- Ibatis execute update sql on oracle, it is not working and no exceptions
- Building an sql execution plan history
- Implementation of Rank and Dense Rank in MySQL
- how to update the date field for this specific condition using oracle query?
- Oracle stored procedure wrapping compile error with inline comments
- Android: How to connect oracle database using Android Java code?
- SQL Conditional Join on Columns
- Multi value wildcard search in ibatis
- Get count of consecutive days meeting a given criteria
- How to update the metadata of a layer in Oracle imported through FME Workbench?
Related Questions in ENTERPRISE-LIBRARY
- Enterprise Library 6 - dynamically change log file name
- How to merge .net custom config sections for different environments
- The type or namespace name 'Practices' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
- VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products
- Do we need to close DbCommand in enterprise library 4.1?
- Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or
- EnterpriseLibrary dbCommand.ExecuteScalarAsync is error :Invalid operation. The connection is closed
- Change Enterprise Library configuration midway in a program
- Enterprise Library TraceListener to display logging messages inside app
- Azure Web Role with Transient Fault Handling Block exception: The path is too long after being fully qualified
- Enterprise Library DAAB 6 and ODP.NET - Connection string for the default database 'XXX' does not exist
- Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. Enterprise Library
- Enterprise Library issue
- Enterprise library logging Database trace listener with custom parameter input
- Change name of source in Enterprise Library Logging
Related Questions in DAAB
- Inject DAAB Database Object with Unity
- Dynamic connection string in DAAB
- The number of parameters does not match number of values for stored procedure
- How to batch insert lots of rows using Enterprise Library DAAB?
- Why is a call to DatabaseInstance.ExecuteSprocAccessor<T>(...) taking so long for such a simple query?
- Calling MS Access Stored Queries with Parameters using DAAB v5.0
- DAL classes generater using DAAB or ado.net?
- Retrieving SQL Server database schema and objects and reflect in a .Net application
- Data Access Application Block 5.0 fluent configuration
- ODP.NET in Microsoft Enterprise Library 6.0
- Returning ref cursor from oracle stored procedure by using DAAB from MS EntLib 4.1
- Get Autonumber from newly inserted record in Access 2007 using Enterprise Library 4.1
- How does MS Data Access Application Block(daab) compare to ado.net datareader performance wise
- Using Enterprise Library DAAB in C# Console Project
- C#: Is this the correct way to use the SqlDataReader for DAAB
Related Questions in REF-CURSOR
- How to fetch Oracle reference cursor into table variable?
- Fetch refcursor in pl/proxy
- How to get data from ref cursor in Biztalk?
- Need to get output as select statement, instead of using dbms_output
- Visual Basic with Oracle 11g using REF CURSOR NOT working
- EF Core with Oracle using DB First
- How to rewrite a Postgres function to return a scalar value and a table value (instead of a refcursor)?
- Handle two different queries with one ref cursor
- DMBS_SQL.to_refcursor equivalent in Oracle 10g
- Oracle Ref cursor along with out parameters
- How to return a empty cursor from a stored procedure?
- How to call an Oracle function with a Ref Cursor and return the values on Visual Basic
- Get result set from stored procedure postgresql 11
- How do I check if a ref cursor points to empty result set in postgres
- ORACLE: Cursor with dynamic query - throws error "invalid identifier" for cursor field
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes, surely you can.
And on the C# side:
RefCursor param supposed to be named "cur_out".