Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7718903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:16:54+00:00 2026-06-01T03:16:54+00:00

I am trying to execute an Oracle stored proc via an Entity Framework data

  • 0

I am trying to execute an Oracle stored proc via an Entity Framework data context. My stored procedure looks as follows:

PROCEDURE "GET_SUPPLIERS" (
    SUPP_LIST OUT SYS_REFCURSOR) AS
BEGIN 

    OPEN SUPP_LIST FOR 
    SELECT 
        SUPPLIER_NAME 
    FROM 
        A_SUPPLIER  ;

END;

The App.config settings:

  <oracle.dataaccess.client>
    <settings>
      <add name="SYSADM.GET_SUPPLIERS.RefCursor.0" value="implicitRefCursor bindinfo='mode=Output'" />


      <add name="SYSADM.GET_SUPPLIERS.RefCursorMetaData.0.Column.0"
           value="implicitRefCursor metadata='ColumnName=SUPPLIER_NAME;
           BaseColumnName=SUPPLIER_NAME;BaseSchemaName=SYSADM;BaseTableName=A_SUPPLIER;
           NativeDataType=varchar2;ProviderType=Varchar2;
           ProviderDBType=String;DataType=System.String;
           ColumnSize=10;AllowDBNull=true'" />


    </settings>
  </oracle.dataaccess.client>

I invoke the code as follows:

    var ctx = new Supplier.SupplierEntities();
    Supplier.GET_SUPPLIERS_Result1 r = ctx.GET_SUPPLIERS().FirstOrDefault();

and on the following line:

public ObjectResult<GET_SUPPLIERS_Result1> GET_SUPPLIERS()
{
    return base.ExecuteFunction<GET_SUPPLIERS_Result1>("GET_SUPPLIERS");
}

I get the following exception

ORA-06550: line 1, column 32:
PLS-00103: Encountered the symbol ">" when expecting one of the following:

   ( ) - + case mod new not null <an identifier>
   <a double-quoted delimited-identifier> <a bind variable>
   table continue avg count current exists max min prior sql
   stddev sum variance execute multiset the both leading
   trailing forall merge year month day hour minute second
   timezone_hour timezone_minute timezone_region timezone_abbr
   time timestamp interval date
   <a string literal with character set specification>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T03:16:55+00:00Added an answer on June 1, 2026 at 3:16 am

    Try updating your name parameters to

    SYSADM.GET_SUPPLIERS.RefCursor.SUPP_LIST

    and

    SYSADM.GET_SUPPLIERS.RefCursorMetaData.SUPP_LIST.Column.0

    Entity Framework always uses BindByName to run stored procedures (rather than the positional notation for parameters).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Referring to How to execute an Oracle stored procedure via a database link ,
I am trying to execute a procedure that returns a stored procedure. My version
I am trying to write a simple Oracle Stored Procedure: CREATE OR REPLACE PROCEDURE
I'm trying to understand different ways of getting table data from Oracle stored procedures
I'm trying to call an Oracle stored procedure that accepts no input parameters. However,
I'm trying to use cx_Oracle to connect to an Oracle instance and execute some
I am trying to execute a stored procedured from a linked database in MS
I'm using an Oracle DB and I'm trying to fetch data from its tables
I'm trying to insert a data into oracle database(version 11g xe).But when i'm trying
I am trying to call a stored procedure over a database link. The code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.