Accessing Oracle Objects from JDeveloper

Hi,
I am trying to access Oracle PL/SQL packages from JDeveloper.I created a package that contains a procedure which accepts 2 IN parameters and returns 3 OUT parameters ( cursor,string,string).Through the JPulisher wizard i selected the package and i click the Generate Java code.But it actually creates .sqlj file it didn't create java file.
1.Is there anyway for creating java file instead of .sqlj file?
2. If not possible can anyone tell how can i access this .sqlj file for passing parameters from my jsp page.
Thanks
Srik

A SQLJ file can be compiled into a classfile. JDeveloper will automatically convert the .sqlj file into a .java file, and then compile it into a .class file. If you choose to deploy the project to a webserver or whatever, the compilation will take place before the classes are added to the WAR file.
The reason that JPublisher creates SQLJ files is that SQLJ files are easier to work with from the standpoint of SQL - the database access is done through SQL-like statements, and not raw Java.
- John McGinnis
Oracle JDeveloper Team

Similar Messages

  • Accessing Oracle objects from VB

    I am able to Access the Oracle Object from VB at the same time i should be able to send back to Stored Procedure but here i am getting an error saying that "Type mismatch" , this is VB run time Error.
    null

    Anil,
    I am forwarding this to OO4O forum...
    Regards,
    Geoff

  • Oracle Object Views Jdeveloper compatibility

    Our application has been designed OOAD and documented in UML. We mapped the UML class diagrams to relational tables and created Oracle object views on top of these tables. From these views we can now generate C++ code with OTT. However, trying to access these views from JDeveloper gives us some problems. Specifically, if an object type defined by "CREATE TYPE xxx AS OBJECT" has a REF column somewhere inside it, there seems to be very little support for this in JDeveloper 10g. Our example is a country with numerous provinces. A provice type has a reference to the country type it falls in. Trying to make a GUI to maintain the provinces gives us no way to select a country to make the REF column from. In JDeveloper, when using the object view to create a maintenance GUI, we see the reference to the country in binary form. Typically we would want to select the country from a drop-down box containing country names instead of binary references. Can someone please point me to documentation describing how to do this or explain here. Thank you in advance.

    Not sure if this will be helpful for you, but maybe a better approach for your Java project will be to use TopLink to map your Java objects directly to the relational schema using TopLink's meet-in-the-middle capabilities.
    This way you won't need to work with the Object views in the database.
    More on TopLink here:
    http://www.oracle.com/technology/products/ias/toplink/index.html
    Some demos of the mapping capabilities are here:
    http://www.oracle.com/technology/products/ias/toplink/mwdemos/index.html
    TopLink is very well integrated with JDeveloper 10.1.2

  • Help on accessing Oracle object !

    Hi,
    Looking for a help in accessing oracle object using JDBC. I've the following object defined in Oracle.
    TYPE ty_ctg_prod AS OBJECT(
    PROD VARCHAR2(40 ),
    NODE_ID NUMBER ,
    CTG_ID NUMBER );
    TYPE ctg_PROD_ary AS VARRAY (50) OF ty_ctg_PROD;
    The procedure out parameter is returning :
    x_ctg_prod_ary OUT ctg_prod_ary
    Do I need to use a OracleTypes.STRUCT API Or oracle.sql.ARRAY to access data in this scenario.
    Any pointers will be highly appreciated.
    Thanks,
    Shamik

    // Get the object1 value from the second column col_object1
                oracle.sql.STRUCT object1 = (oracle.sql.STRUCT)collabstatement.getObject(2);
                // Get the object1 values from each row
                Object[] object1Values = object1.getAttributes();
                // Get the first value of object1, which is a string
                String str = (String)object1Values[0];
                // Get the second value of object1, which is of the type object2
                oracle.sql.STRUCT object2 = (oracle.sql.STRUCT)object1Values[1];
                // Get the values of object2
                Object object2Values[] = object2.getAttributes();
                str = (String)object2Values[0];
                BigDecimal num =  (BigDecimal)object2Values[1];you can also use :oracle.sql.Datum[] attrs = oracleSTRUCT.getOracleAttributes();more info :
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jdbc/objects/ObjectTypes.html

  • Access file object from flex web app

    Hi all,
    I want to access file object from flex web app. What should i do?
    I have to take array from my XML. In XML there will be only dir path. So for taking file name from dir i have to access it and have to perform for loop on that dir.
    What should I do?
    Any Ideas?
    Thanks,
    -CK

    Hi Michael
    My question is that I dont want to give name of images in XML file.
    In XML file there will be only path of image directory. So I need to find all image name from that image directory.
    Thats why I want to access file object.
    Any ideas?    

  • How to access COM+ Objects From JSP

    Friends,
    We have a requirement to access COM+ objects from JSP. Please guide me on this.
    Thanks in advance.
    Tarani

    Sanyam wrote:
    if there is any .dll extension file, how can we read that file in labview?
    You can use Call Library Function node to call that dll file and use it in LabVIEW. Read the help and you will get more details.

  • Depoying web service in oracle weblogic from jdeveloper 10.

    hi , i implement a web service and i deploy it in oracle weblogic from Jdeveloper 10.
    but when testing this web service, it evaluates them as null.
    and the wsdl in jdevelpor has 8888 not 7001.
    please someone help me.
    thank you
    aymen

    Put the jar file at $FND_TOP/java/3rdparty/standalone and add that jar file entry in jserv.properties. That should do the work for you.
    --Shiv                                                                                                                                                                                                                                                                                                   

  • Accessing java objects from within javascript

    Hello,
    Anyone with an idea of a useful toolkit for accessing java objects from within javascript will be much appreciated.
    Thanks in advance,
    Antana.

    What do you mean by accessing Java objects? Do you mean interacting with an applet via JavaScript? Something else?

  • Accessing an object from a different server

    Hi,
    I am making a program that will access an object from a different server.
    I have a program that when I run calls a jsp page running on Server A which in turn should request an object A from Server B.
    I am relatively new to Java and jsp. What would my best course of action be.
    Thanks in advance,
    Brian

    Or RMI?OK, sounds good, I will look up some RMi on the site.
    Thanks, will prob have more questions for you later.

  • Running Oracle Reports from JDeveloper

    Do you know how to run an oracle report from JDeveloper?

    Do you mean invoking a report at runtime, or do you mean designing a report inside JDeveloper?
    Did you try asking on the Reports Forum:
    http://forums.oracle.com/forums/category.jspa?categoryID=19

  • HELP IN Creating customized Oracle Object from Java

    How can I create a customized oracle object that has these 3 fields with data persistance:
    NAME : VARCHAR2
    INSER_DATE : DATE
    OBJ:user-defined collection(oracle.sql.array)
    using JAVA. Later, that oracle object is enqueue in Oracle avanced Queue.
    I've been looking in this site for the answer but had no luck.
    I am using Java 1.2 and Oracle 8.1.6.
    Any help will be appreciated as I needed so badly. Thanks.
    Robby
    [email protected]

    Hi
    I assume your attempting to generate a Java class with the approriate getters and setters. If so the JPulisher utility is what your after. You can access it from either JDeveloper or the command line... Its documented in the Oracle Java manuals (jdbc etc.)...
    A piece of advice... especially if you using AQ and ADT's or oracle's jms implementation against AQ, make sure you use the Oracle 8.1.7 jdbc drivers, even if your accessing an 8.1.6 DBMS. The performance difference is significant
    Dom

  • Accessing Java objects from C++ client

    I have a number of Java CORBA server objects that I have deployed to an 8.1.7 database.
    I can invoke these objects from a Java client with no problem, but I also need to access them from a C++ client.
    I have used idl2cpp from VisiBroker for C++ (version 4.5) to generate the client stubs, and I've downloaded the interop.tar file from http://technet.oracle.com/products/oracle8i/htdocs/jserver_faq/interop.tar
    The problem that I have is that I have not been able to build a client program because login.lib from interop.tar generates conflicts at link time. I've tried everything that I can think of, but I always end up with either missing references or multiply defined symbols. I've tried building using both MS Visual C++ and Borland C++Builder, but with no success.
    Has anybody succeeded in building a C++ client? Surely it shouldn't be this difficult?
    Thanks,
    Tony

    Thank u for taking care of me
    But the hint given by u is not apt to my query.
    If any new suggestion pls send again

  • Access abap object  from external system

    In R/3 have a Business Objects how can I access this object, for example Workflow BO, from java (external system) using XI????
    My goal is create workflow´s in r/3 sending as input the workflow characteristics and then create the workflow in R/3 and sending as output the idworkflow was creatde.
    thanks in advanced.

    Dear Murali,
    Try this
    a)Start transaction SXI_CACHE.
    b)From the context menu XI Runtime Cache select Start Complete Cache Refresh.
    If you still face issue try this .
    Many actions require to access System Landscape Directory content from the Integration Builder. To optimize performance, this content is loaded into a cache so that the System Landscape Directory does not have to be accessed directly each time that System Landscape Directory content is required.
    However, this cache is not automatically updated if changes are made to the content of the System Landscape Directory. For this reason that we delete the System Landscape Directory cache if changes have been made to content in the System Landscape Directory. The cache is then filled each time that the System Landscape Directory is accessed. If we log on to the Integration Builder after we have made a change in the SLD, we do not need to delete the SLD cache.
    To clear the SLD cache, from the Integration Builder main menu, choose Environment ® Delete Cache for SLD Data.
    Once we have deleted the cache for SLD data, accessing objects in the SLD may take longer than usual initially.
    Regards
    Agasthuri Doss

  • How to access oracle 11i from another node

    Hi,
    I have installed Oracle 11.5.5 on Windows NT4.0. I could access it on the same machine through the internet explorer by typing http://computername.domain name:8002/OA_HTML/US/ICXINDEX.htm
    Now i want to access application from another machine. How to do it?. Can i find any help documents on this & where?
    Please help me on this.
    Thanks & Regards,
    Arun
    [email protected]

    Hi,
    As i remembered,you do not have to do anything extra to access the URL from other machines.ya both the machine should have the some sort of connectivity and at the max you can make the entry of URL along with ip address of server into your local machine's host file.
    could you please share the error message you are getting ?
    -Yogi
    [email protected]

  • How to access oracle forms from public ip through internet browser

    Dear Team,
    I have following setup:-
    We are using oracle database 11gR2
    Oracle Forms & reports : 11.1.2
    O.S : Windows 7 Professional
    I am currently accessing forms through local network through browser from server successfully.
    Now I want to access the same forms through public ip through internet browser from a remote location and not from our local network.
    I have also installed Xammp 1.7.7 apache server in the same setup computer.
    Last time I tried to access oracle through http server but xampp http port was conflicting with oracle http server so i needed to disable oracle http server for xampp apache server to work, at that time i was not needing oracle http server, now I need both. Is there any workaround to this for oracle and xampp to work at the same time in the same setup, please let me know.
    Can anybody help me to find solution for this issue.
    Thanks in Advance.

    You have to use two different -different ports for the both
    use 8080 port for the Oracle http and another for another web server.
    you can use proxy to filter the requests and redirect then to another port as per requirement.

Maybe you are looking for

  • ICloud Mail problems

    Hi, My Apple Mail program is just spinning on my iCloud mail and not pulling it in from the server, as it would usually do. Anyone know how to fix this?

  • Can I create a home network withous dsl connection with airport express

    can I create a home network without dsl connection with airport express? So it means I can't connect to my HP Airprint/Wireless printer without exretnal connection through ISP?? Just need to print from my Mac and iphone. I have Vodafone Prepaid conne

  • Can I use Flash 5? Dreamweaver 4?

    Not sure where else to post this: I recently got an Intel-based iMac and I'm digging it. My G4 Quicksilver finally died. My question is this: I used Dreamweaver 4 and Flash 5 on my G4 to create web stuff. But now when I try to install them on the iMa

  • UPDATE DDIC USING ADOBE FORM

    Hi ALL,     I  am new in adobe forms , i have a problem that i want to show some require fields related to vendor master data on adobe forms then i send it to vendor who fill the adobe forms and send it back then i want update DDIC as per the adobe f

  • Open with - modify all

    Hi everybody, my system try to open my .pages files with Image Capture (Acquisizione Immagini in Italian), so I try with cmd+i -> open with (selecting "pages") -> modify all... Now, after I click on "modify all", in the icon-program_name return "Imag