• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
EOF Oracle function call
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EOF Oracle function call


  • Subject: EOF Oracle function call
  • From: Tom Pelaia <email@hidden>
  • Date: Wed, 21 Jan 2009 15:57:11 -0500

Hi,

I am trying to call a function with a return value defined in an Oracle database. I found legacy EOF notes indicating that it was possible to do so by adding an argument named "returnValue" to the EO stored procedure, but this results in the following exception:
     [exec] PLS-00306: wrong number or types of arguments in call to 'LOGBOOK_ENTRY_WORK_ORDER_ASSOC'

Has anyone been able to call function on an Oracle database? If so, how?

I've defined my stored procedure in the model as:
{
    arguments = (
        {
            allowsNull = Y; 
            columnName = "p_log_entry_id"; 
            externalType = NUMBER; 
            name = "entryID";
            parameterDirection = 1; 
            valueClassName = NSNumber; 
            valueType = i; 
        }, 
        {
            allowsNull = Y; 
            columnName = "p_work_order_number"; 
            externalType = NUMBER; 
            name = "workOrderID";
            parameterDirection = 1; 
            valueClassName = NSNumber; 
valueType = i;
        },
        {
            name = "returnValue";
    parameterDirection = 2;
            externalType = NUMBER; 
            parameterDirection = 2; 
            valueClassName = NSNumber; 
    valueType = i;
        }
    ); 
    externalName = "logbook.logbook_pkg.logbook_entry_work_order_assoc"; 
    name = linkToWorkOrder; 
}


best regards,
tom
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: EOF Oracle function call
      • From: Don Lindsay <email@hidden>
References: 
 >Re: Re: last chance for stable (From: Tom Pelaia <email@hidden>)

  • Prev by Date: Re: Re: last chance for stable
  • Next by Date: Re: last chance for stable - PDFkit 5.4.3 coming...
  • Previous by thread: Re: Re: last chance for stable
  • Next by thread: Re: EOF Oracle function call
  • Index(es):
    • Date
    • Thread