How to use the EBS PL/SQL API from outside PL/SQL

Hi,
our attempts to call the stored procedures/functions of the EBS PL/SQL API via JDBC revealed the following issues:
1. Logical values cannot be exchanged through boolean parameters as the OCI has no notion of this type. Instead we need to write PL/SQL wrappers converting boolean to integer and vice versa. Is that true or are we missing something?
2. Complex values cannot be exchanged through record types as only PL/SQL code has a notion of this type. Instead we need to write PL/SQL wrappers converting record values to object type values. Is that true or are we missing something?
3. Types must be defined outside of packages, i.e. in the schema, for whatever reason. Instead we need to write PL/SQL wrappers converting values of types defined in packages to values of types defined in the schema. Is that true or are we missing something?
4. It is possible to let functions return tables so the results can be queried using SELECT * FROM TABLE. Such functions are called "table functions". Is there something similar for the other direction, i.e. is it possible to call a stored procedure and pass in a table value through an sql INSERT statement?
5. Do we really have to write all those wrapper routines on our own or is there a PL/SQL library providing such? If not, is there some kind of code generation facility that can generate such wrappers?
Thanks and Regards,
Konrad

Hi Helios,
I belive its better to move your issue on Forum Home » Database » SQL and PL/SQL which you can get more quick responseYou are probably right! I was thinking about a different forum but I did not see this one. I just posted the question there...
Still, if somebody has an idea here as well, just let me know ;-)
Konrad

Similar Messages

  • How to use the user and role API's and where to use it

    Hi All,
    I have configured SSO for my UCM11g. Now my application authenticates through the Oracle SSO login page. Currently it is working with SQL authenticator.
    Now, i have to use LDAP authenticator. when i will configure the LDAP authenticator, i have to use the user and role API's to fetch the user profile information from LDAP. i have got the API's which will be used to fetch the respected information, but i am not getting as where i will write those java programs and how this API will be used in my application. what settings i need to do on it so that application uses the API's. ?
    Please can anyone help me on this.
    thanks,
    Saurabh

    Hi, Mithu,
    Thanks a lot for your help in advance.
    I have carefully read the document: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6b66d7ea-0c01-0010-14af-b3ee523210b5.
    Now, I think I have to set the processor of every actions in every process if I use the GP for processing the workflow.
    I am better to hope that I can set the processor to the role for every actions in every process in the runtime through get the organizational structure in the WDA(webdynpro for java or webdynpro for java). Thus, the customer don't set the processor to the role for every action in every process when runing in the GP.   I don't know how to do this. 
    Whether the function is not supported in the GP? If so, I have to config two organizational structure: in the R/3 and in the Portal. I don't think our customer don't receipt this solution.
    Do you give me some hints? Thanks a lot.  My email: [email protected]
    Thanks again.
    Thanks & Regards,
    Tao

  • How to use the item of table(ms access) in pl/sql

    I want to use oracle forms builer developer application with ms access database
    I don't know how to use the item of table in the pl/sql;please help me !

    MERGE INTO EmpDept Target
    Using (SELECT E.Address,
    e.Design,
    e.EmailId,
    e.EmpId,
    e.Ename,
    e.ManagerId,
    e.Salary,
    D.DeptId,
    D.DeptName,
    D.Location
    FROM Employee E
    INNER JOIN Dept D
    ON E.DeptId = D.DeptId) AS Source (Address, Design, EmailId, EmpId, EName, ManagerId, Salary, DeptId, DeptName, Location)
    ON Source.EmpId = Target.EmpId
    WHEN NOT matched THEN
    INSERT (Address,
    Design,
    EmailId,
    EmpId,
    Ename,
    ManagerId,
    Salary,
    DeptId,
    DeptName,
    Location)
    VALUES (Address,
    Design,
    EmailId,
    EmpId,
    EName,
    ManagerId,
    Salary,
    DeptId,
    DeptName,
    Location)
    WHEN matched THEN
    UPDATE SET Address = Source.Address,
    Design = Source.Design,
    EmailId = Source.EmailId,
    Ename = Source.Ename,
    ManagerId = Source.ManagerId,
    Salary = Source.Salary,
    DeptId = Source.DeptId,
    DeptName = Source.DeptName,
    Location = Source.Location;

  • How to Use the Scalable Vector Graphics API (JSR 226)

    im doin an Application with Maps and locations...
    i need 2 use the Scalable Vector Graphics API (JSR 226)..
    can anyone plz guide me to get it and use the API.. Im using netBeans 5.0
    it will be great help :)
    Regards
    Muhammedh aka MNM

    Thanks Rohan :)
    i did read some stuff from the URLs u gav me :)
    and I manage 2 solve the prob i had :) (Thank God)
    1. downloaded latest version of netBeans (5.5)
    2. Java SDK 6 :D...
    3. the key thing: Wireless tool kit for CLDC 2.5 Beta
    now when u create a project make sure u set the above given tool kit :)
    when u set it.. u get an option 2 select the APIs frm a List.. Check on SVG API :)...
    Other APIs Such as,
    * wireless Messaging API
    * Location API
    and many more...
    Cheers 2 Every1 :)
    regards
    Muhammedh

  • How to use the userid and password infor from Oracle DB in BO

    Out client has the userid and passwords(encrypted) infomration stored in oracle table.
    Is it possible to import this useid and password information into BO .And use the same userid and password from Oracle table for its login authentication and for data security...?
    In other words can the userid/pwd info from Oracle Profile Table imported and re-used in BO Enterprise Edition.

    If the users/pw are in an Oracle LDAP v3 compliant server then you can import them via LDAP plugin, else you would need to bring them in an enterprise users via script. The Import wizard can do this and the SDK (see the SDK forums for more info on how)
    Maintaining the passwords would be difficult unless you are using and industry standard directory like LDAP.
    Regards,
    Tim

  • How to get the number of community members from outside the community

    Hi everyone.
    I need to know if there is any way to get the number of community members from outside the community, I mean, not using the "What's happening" webpart. I want to build up a page with a Webpart that summarize my three most visited communities indicating
    number of members, three last messages in the newsfeed, and number of posts in blog, wikis, document libraries, etc.
    Do I need statistics to get this kind of information? Should I use Sharepoint Object model instead?
    Here is an example of what I need:
    - Community name
    - Number of members
    - Community activity (messages, docs uploaded to library, etc)
    - Number of posts in calendar, blog, wiki that belongs to community
    Thank you all!

    Hi Thuan.
    Thanks for your answer but it does not help me because these communities are Sharepoint Communities not external sites so I need to get that information using SP object model and BCS in this case is useless.
    EDIT
    I found the solution using the search objects but I was only able to get members, discussions and replies
    using (ClientContext clientContext = new ClientContext("URL_OF_ENTERPRISE_SEARCH_CENTER"))
    KeywordQuery keywordQuery = new KeywordQuery(clientContext);
    keywordQuery.QueryText = "The_Name_of_the_Community WebTemplate:COMMUNITY";
    SearchExecutor searchExecutor = new SearchExecutor(clientContext);
    ClientResult<ResultTableCollection> results = searchExecutor.ExecuteQuery(keywordQuery);
    clientContext.ExecuteQuery();
    System.Collections.Generic.IDictionary<string, object> ret = null;
    foreach (System.Collections.Generic.Dictionary<string, object> resultRow in results.Value[0].ResultRows)
    Console.WriteLine("{0}: {1} ({2})", resultRow["CommunityMembersCount"], resultRow["CommunityTopicsCount"], resultRow["CommunitiyRepliesCount"]);
    This is a Console Application.
    I hope someone helps

  • How to use the WHENEVER SQLERROR EXIT statement in a PL/SQL block.

    Hi,
    I am getting the following error when trying to add the following statement in an PL/SQL block.
    WHENEVER SQLERROR EXIT SQL.SQLCODE
    [exec] ERROR at line 23:
    [exec] ORA-06550: line 23, column 12:
    [exec] PLS-00103: Encountered the symbol "SQLERROR" when expecting one of the
    [exec] following:
    [exec] := . ( @ % ;
    How can i use the above statement in the PL/SQL Block? I have only IF statement in that block( between BEGIN and END).
    Thanks

    Hi,
    Usually there's always more than one solution.
    Can you post an example of what you're trying to accomplish?
    That would be useful.
    (Place the tag before and after your example to maintain formatting en spacing, see the [fac|http://forums.oracle.com/forums/help.jspa] regarding available tags)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to get the EBS login user id  from a current Logged User

    Hi,
    I need to get particular Logged user's User ID & filter out his business group id to taken it as the concurrent input parameter.
    this can be done through a value set if i know logged user's user id but i have no idea how to find the logged user's user id.....!!
    i get user id such SessionMgr,fnd_profile API's???
    any suggetions appreciable...
    Regards,
    D f o r z
    Edited by: Dforz on May 5, 2011 10:40 PM

    By CO Gyan means OAF Controller. Are you sure your question is related to OA framework forums.
    Let us know where exactly in OAF you want to capture these ids and pass it to concurrent program.
    I think you should post your question to below forum
    General EBS Discussion
    Thanks
    AJ

  • How to use the myAdapter.Update and OleDbCommandBuilder from dataGridView to update the db2 database

    hello,everybody ,it a question makes me crazy .my code is that :
            public string tableName = "";
            public DataSet ds;
            public OleDbDataAdapter myAdapter;
            public string sql = "";
            private   void button12_Click_1(object sender, EventArgs e)
                sql = textBox5.Text.Trim();
                OleDbConnection Conn = new OleDbConnection(st_contractconn);     
                Conn.Open();
                this.comboBox1.Items.Add(this.textBox5.Text);
                try
                    System.Text.RegularExpressions.Regex r = new System.Text.RegularExpressions.Regex(@"(?<=from\s)\w+(?=\s)");
                    System.Text.RegularExpressions.Match B = r.Match(sql);
                    tableName = B.ToString();
                   OleDbCommand cmd = new OleDbCommand("SELECT * FROM PT_PO",Conn);
                   Conn.Close();
                    myAdapter = new OleDbDataAdapter(cmd);
                    ds = new DataSet();
                    myAdapter.Fill(ds, "PT_PO");
                    dataGridView2.DataSource = ds.Tables["PT_PO"].DefaultView;                   
                    this.groupBox2.Text = "共查询到" + ds.Tables[0].Rows.Count.ToString() + "条记录" + tableName;
                catch (Exception ex)
                    MessageBox.Show(ex.Message);
            private void button26_Click(object sender, EventArgs e)
                OleDbConnection Conn = new OleDbConnection(st_contractconn);
                Conn.Open();
                OleDbCommandBuilder Builder = new OleDbCommandBuilder(myAdapter);
                Validate() ;            
                myAdapter.Update(ds.Tables["PT_PO"]);
                Conn.Close();
                ds.AcceptChanges() ; 
    when it run to the myAdapter.Update(ds.Tables["PT_PO"]);  it comes out a wrong "对于不返回任何基表信息的 SelectCommand 不支持动态 SQL 生成。" who knows  it is why ,my QQ is 501212848,thankyou very much.

    Hello,
    We were a IBM-DB2 shop for over 20 years, when we moved to .NET we found it was better to use the native DB2 data provider which you can download from IBM for free.
    Main objects
    IBM.Data.DB2.iSeries.iDB2Connection
    IBM.Data.DB2.iSeries.iDB2Command
    IBM.Data.DB2.iSeries.iDB2Parameter
    So you would not use adapters but write code using the key objects above. Then to get new primary keys we would use
    SELECT nextval for SOMETABLE_REF_AUTONUMBER_SEQUENCE from sysibm.sysdummy1
    Bottom line is the structure is create a connection, create a command, set the connection and command text along with creating parameters as needed.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.
    what is the meaning about you ? db2 cannt using adapters  to update the datebase?

  • How to use the Oracle AQ JMS API using Toplink

    My application is using AQ using PL/SQL. We want to convert the PL/SQL code to the JMS interface Oracle offers, the problem is that I need to use a java.sql.Connection object in order to connect to the AQ. I don't own the java.sql.Connection in Toplink. How can I enqueue/dequeue to a JMS AQ using Toplink?

    In the upcoming 10.1.3 release, TopLink supports mapping to/from Oracle AQ messages through a JCA adapter. This functionality is currently available in the 10.1.3 developer preview release on the Oracle OTN web site. If you have an earlier version of TopLink, using AQ directly may make more sense with TopLink only being used to access an existing JDBC connection.
    To use AQ directly a JDBC connection is required - then the AQ JMS interface can be used to access any messages. If TopLink has a JDBC connection with Oracle AQ, it (the JDBC connection) can be accessed via session.getAccessor().getConnection(). Also, if a J2EE datasource/connection pool is being used a JDBC connection could be obtained there as well. One thing to note is that creating a new JDBC connection would be 'safer', as this would avoid having the connection managed when it shouldn't be.
    For information on how Oracle TopLink provides EIS access to AQ, please refer to: http://www.oracle.com/technology/products/ias/toplink/preview/howto/eisAq/index.htm

  • How to use the WebSocket Protocol Component API to 'talk' to a Node.JS server.

    I hope that this posting is in the correct forum, as I am using Visual Studio 2013 I thought this might be the case.
    I have a secure Node.JS server that I want to access from my native windows C++ application and I thought this API would be the cleanest solution as I only need Server 2012 and Windows 8 support. I downloaded from Microsoft the only C++ example
    I could find (Web Socket Protocol Component API sample.zip) but this only served to confuse me as it makes use of both Client and Server connections, and to add to my confusion is the very sparse documentation so the progress I am making is now non-existent.
    Can someone please tell me what I need to do in order to create a usable Web Socket connection to my remote server.
    The code I wrote based on that from the sample zip works but not in the way I was expecting it to as it makes no attempts to contact the remote server.I would really appreciate your help with this.
    Bob

    Hi Bob,
    Thank you for posting in MSND forum.
    Since this issue is related to the Windows Desktop, so we will move this case to Windows Desktop forum:https://social.msdn.microsoft.com/Forums/en-US/home?forum=windowsgeneraldevelopmentissues,
    you will get better support.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Hello anyone know how to use the locked iphone outside USA

    hello anyone know how to use the locked AT&T iphone 5 outside US. I'll go to Japan. Don't know if the phone can be used there.any idea will be appreciated.

    You'll need to get it unlocked by ATandT to avoid paying huge roaming costs.
    See: http://www.att.com/esupport/article.jsp?sid=KB414532&cv=820

  • How do I set up a static IP on Airport Express so I can activate the Connet my Mac App from outside my network?

    How do I set up a static IP on Airport Express so I can activate and use the Connect My Mac app from outside my home network?

    You will need to enable file sharing in System Preferences
    as well as setting up sharing and permissions for the
    directories that you want shared.  You may also want to
    setup a non-administrative user or allow limited guest
    access.  The user would require entering a user name and
    password to make the connection, but would allow remotes
    to change files, if set up tat way.
    As for serving iTunes media, better to post in the iTunes forum.

  • SQL QUERRy (how to use the SQVI)

    Hi all,
    can anyone explain the process and how to use the Tcode SQVI.....
    thanks in advance
    srinivas...

    thanks for imm responce....
    as per ur mail ...
    If a report got created through SQVI Transaction it will not allows you to transport..
    the same senario will effect to the Tcodes SQ01,SQ02,SQ03.....
    could you please look into below my question also..can any one please responce to this,,,,
    The below link will explain to genereate the normal or ALV report using ABAP query without any programming language.i have few questions......
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40bec8da-4cd8-2910-27a9-81f5ce10676c
    1.here in this link pdf doc explained how to get the data in two tables usuing ABAP quesry,,,
    is it possible for getting the data from more than two tables and how ,canone please guide me....
    2.using ABAP query i got the ALV single grid report ,is it possible to get more than single grid usuingABAP query ....?
    3.using ABAP query i got the ALV single grid report then how to give the print and how copy and paste in the edit pad....
    note : the above PDF link step by step is helpfull for generating report using Tcodes like SQ01,SQ02,SQ03.
             can anyone provide the similar type pdf documents for generating report using Tcode SQVI...?
    thanks in advance
    Srinivas...........

  • How to use the Google Android Emulator in Flash Builder on Windows 7?

    I want to try out Flash Builder to create an app, but I cannot find out how to use the Google Android Emulator in Flash Builder. The simulators in Flash Builder work, and the android emulator is installed correctly and can run. I just can't seem to connect them. How do I do that?

    Hi Pahup,
    Thank you for your reply!!
    I adapted an Android App using Flash CC on a Mac. I already published this App for the Apple App Store. When I published the App for Android I chose Air 3.7.xxx for Android. I also created the p12 certificate using Flash CC in the publishing settigns for Android. So my App is theoretically finished and ready for Upload.
    When I went to the Google Play Store Developer Console I had the options to
    1.) Upload APK
    or
    2.) Prepare Store Entry
    ...so I prepared the Store entry first. When I go to "APK"-Tab in the console it looks like this:
    ... it says "Upload APK" and the Button below "Get Licence Key". When I click on the license Key Button it looks like this:
    So I think I should enter this RSA-Key somehow into my App BEFORE uploading it to the Google Play Store. This is recommended when an Ap is set to be paid. My Application is set to paid.
    I did not use any kind of licensing API (until now - cause I don´t know how and what it is for)
    This is all new to me. It is the first App I want to bringt to the Android market. I really hoped it would be as easy as getting an app into the Apple App Store. I found so many step by step instructions for dummies on "How to get an Flash iOS App into the App Store plus creating all the certificates needed", so I thought it would be the same for Android. But there is no help at all at the moment. I am totally confused.
    So any help, hint or instrusction would be great!!
    By the way - this is the App I want to get into the Google Play Store

Maybe you are looking for

  • Is there a way to create a guide that can't be cleared or removed?

    We are trying to create master logos that would have the name on it made with guides. This would give us a quick way of seeing if the master was placed. Can the guide be set so if someone clears guides this one would not be cleared? I think I know th

  • Performanc​e of intel chipset.

    Sir, Please give me a detailed view of performance, heat generated during operation of various chipset of intel i3 processors.

  • Activity Monitor Won't Run

    Anyone else having this problem? Activity monitor will simply not run. It starts, then crashes...every time.

  • Align Left Keyboard Shortcut Not Working

    Align Left Keyboard Shortcut on a Mac (command-shift-L) does not work on InDesign CC 9.1 and use to work on InDesign CS6. Align Right (command-shift-R) works fine. Does anybody know how to fix this?

  • Row Headings JTable...

    Is there a way to have column headings and row heading in a jtable? I have looked through the api and there does not seem to be a method of doing so.., Can anybody recommend a way or a package to do this sort of thing...?