ALL_ARGUMENTS information via JDBC Metadata

Hi,
I require METADATA information via JDBC:
* Packages
* Procedure and Functions inside the package
* Arguments with name, datatype,precision,.....
for each package function/procedure
I only found the:
- getProcedures
- getProcedureColumns
but this look like only supporting stored procedure and function
but not package procedures and functions.
Any idea how to get this information ?
In the worst case I have to retrieve the information via all_arguments
dictionary table.
Thanks for your help!
brg robert

Yes, files opened from SharePoint use a different ASFileSys and you can get info about the location from the ASPathname.
However, no SP-specific information (like metadata) is provided.  You would need to use the SP-APIs yourself to do that.

Similar Messages

  • OS authentication in Oracle 10g via jdbc:oracle:oci

    I'm very much a newbie to Java / JDBC and I am trying, but failing, to connect with the database using OS authentication via jdbc, and hoping someone may help.
    My questions are:
    1. Is OS authentication supported for jdbc:oracle:oci with Oracle 10g ? I couldn't find a general statement of whether it works or not.
    (NB.The only information I managed to find, on another forum, is that it should be supported but there is a bug and so it does not work, but the author did not post all of his/her platform details, so the bug may only affect his/her situation. )
    2. If it is supported and works, could some one suggest what is wrong with my syntax . I could not find an example in any Oracle 10g/JDBC documentation.
    The details are as follows: -
    Database : - Oracle 10g Enterprise Edition 10.2.0.2.0 running on Solaris.
    Development platform : - NetBeans 6.1, JDK 1.6.
    Runtime environment: - JRE1.6 on Windows XP professional.
    OPS$ authentication : - the OPS$ accounts have been set-up and we use these successfully for PL/SQL and SQL Plus access.
    JDBC : - I can connect to the database with both jdbc:oracle:thin ( linking in ojdbc14.jar) and jdbc:oracle:oci by using username and password, so I know my JDBC library linkage is OK, eg. this works fine :
    final String url = new String("jdbc:oracle:oci:" + uname + "/" + pword + "@" + environment);
    where environment is the SID
    I have trawled the Oracle documentation which tells me that OS authentication is not supported for Oracle 10g for the jdbc:oracle:thin driver, so I have tried to connect with jdbc:oracle:oci driver using the following code :
    final String url = new String("jdbc:oracle:oci:/@" + environment);
    final Driver driver = new oracle.jdbc.OracleDriver();
    DriverManager.registerDriver(driver);
    final Properties props = new Properties();
    conn = DriverManager.getConnection(url);
    but this gives the following error :
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Other info: - The tnsnames.ora file contains nothing but there are entries in the ldap.ora and sqlnet.ora files.
    My questions are:
    1. Is OS authentication supported for jdbc:oracle:oci with Oracle 10g ? I couldn't find a general statement of whether it works or not.
    (NB.The only information I managed to find, on another forum, is that it should be supported but there is a bug and so it does not work, but the author did not post all of his/her platform details, so the bug may only affect his/her situation. )
    2. If it is supported and works, could some one suggest what is wrong with my syntax . I could not find an example in any Oracle 10g/JDBC documentation.

    If you specify the SID/service_name in the url, you are attempting to connect via SQL*NET and REMOTE_OS_AUTHENT must be set to true in the database. If you are connecting from the same host the database runs on, then just leave the SID off and make sure the ORACLE_SID environment variable is set.
    You can reproduce the same error you get in java with
    sqlplus /@SID
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Nov 7 12:14:08 2008
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01017: invalid username/password; logon deniedSample Code:
    import oracle.jdbc.pool.OracleDataSource;
    import java.sql.Connection;
    import java.sql.SQLException;
    public class conn {
      public static void main(String[] args) throws SQLException {
        OracleDataSource ods = new OracleDataSource();
        ods.setURL("jdbc:oracle:oci:/@");
        Connection conn = ods.getConnection();
        conn.close();
    }

  • Accessing Data from HTML DB via JDBC

    Hello, I am from Germany so please excuse my following mistakes in english.
    I built a web-application based on JSP, which connects to a local oracle-database 10g. web-server is tomcat. I use the JDBC-Driver from Oracle.
    Now I want to connect not to my local db but to a Oracle HTML DB, which already exists in the domain of my company. I know the workspace, the application-name and everything, which is accessible for an HTML DB admin. but no clue, what's important for connecting the database via JDBC.
    The hostname I got from the URL of HTML DB as well as the port. The main problem is to get the right database-name. I tried the workspace-name -> nothing, tried the application-name -> nothing. Honestly I tried everything, what I found.
    So my questions :
    -> Is there a chance to access the data created and used in the workspaces of the HTML-DB via JDBC (Java Database Connectivity)?
    -> How do I name the Workspace from outside?
    -> Are the login-accounts still applicable when connecting from outside via JDBC?
    I'm looking forward to get your ideas and help
    So far
    Kay

    Your English is very good. The hostname on the URL of HTML DB may not be the host on which the database rests. That is the host of the HTTP server. That server may or may not be the database server.
    Now your questions:
    -> Is there a chance to access the data created and used in the workspaces of the HTML-DB via JDBC (Java Database Connectivity)? What do you mean by "Data created and used in the workspace"? Do you mean the HTML DB repository which contains the application, page, and item definitions? (This is accessible via the schema that HTML DB was installed in.) If you mean the data a user creates when using an HTML DB application, then it is accessible through the application's parsing schema.
    -> How do I name the Workspace from outside? Outside the realm of HTML DB the workspace is not needed.
    -> Are the login-accounts still applicable when connecting from outside via JDBC? When you say "login-accounts" doe the mean the username/password users used to run the HTML DB application? These may or may not be database schemas. They may be HTML DB usernames or network usernames or LDAP usernames.
    I highly recommend you contact the DBA of the database you are trying to connect to and explain what you are doing. You should also contact the developer of the HTML DB application. They should be able to provide you with all the information you need.
    Mike

  • Filesize a problem when uploading a file to Oracle via JDBC?

    Hello,
    I am trying to upload a file via JDBC to an Oracle Database (into a BLOB field). The file is converted to a byte array for uploading.
    While processing the request the following error is thrown :
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R Caused by: java.sql.SQLException: Datengr��e gr��er als max. Gr��e f�r diesen Typ: 485323
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at java.lang.Throwable.<init>(Throwable.java)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at java.lang.Throwable.<init>(Throwable.java)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at java.sql.SQLException.<init>(SQLException.java:52)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at oracle.jdbc.ttc7.TTCItem.setArrayData(TTCItem.java:95)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at oracle.jdbc.dbaccess.DBDataSetImpl.setBytesBindItem(DBDataSetImpl.java:2414)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at oracle.jdbc.driver.OraclePreparedStatement.setItem(OraclePreparedStatement.java:1134)
    [31.08.05 09:58:33:151 CEST] 40cc40cc SystemErr R      at oracle.jdbc.driver.OraclePreparedStatement.setBytes(OraclePreparedStatement.java:2170)
    ("Datengr��e gr��er als max. Gr��e f�r diesen Typ" means: "Filesize bigger than maximum allowed size for this type")
    A blob is able to hold files with gigabyte size, a simple 460k file should not cause this JDBC error. I had a test with a 127k file, too, same error (different file types tested: html, doc, pdf, ...). Is this a problem of the driver or is there anythig I am doing wrong?
    Many thanks in advance for your help,
    Rommie.

    My problem is not to retrieve the file but to upload
    it. I checked the examples and only saw examples for
    retrieving a BLOB or CLOB, but not for inserting it
    into the database
    Maybe I am blind ... if so, please publish your link
    to the example.The page at:
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/advanced/advanced.html
    Has a subsection that reads:
    LOB Datatype [19-Feb-2003]
    The term large object (LOB) refers to a data item that is too large to be stored directly in a database table. This sample application demonstrates how to read and write LOB datatype.The Oracle JDBC drivers provide support for two types of LOBs: BLOBs (unstructured binary data) and CLOBs (character data). BLOB and CLOB data is accessed and referenced using a locator stored in the database table.
    Download Now (ZIP, 76KB)
    Readme
    Source
    The zip is a standalone Java application that will create any needed tables, populate them with example data (both LOBs and CLOBs) from the data files in the zip and then put up a Swing gui that will allow you to add additional LOB and CLOB data to the table. Everything is there, the readme explains the 2 properties files you need to edit. The only other thing besides reading comprehension that you need to supply is DB connection information with the necessary privileges.
    The Source link is a link to the main code, but does not include all the code in the package. However, it contains the code to write CLOBs and BLOBs into the database.
    The Readme explains everything. It also has code excerpts, including the code used to read the sample data from file and write it into the LOBs and CLOBs.
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/advanced/LOBSample/Readme.html
    Look for "loadSamples"

  • Be able to inform the personal metadatas from the beginning / pouvoir renseigner ses propres métadonnées dans Camera-Raw

    Bonjour,
    Camera-raw est un très bon outil, mais il est dommage qu'on ne puisse être utilisé pour renseigner  ses propres métadonnées.
    Peut-être que certains travaillent comme moi.
    Avant toute chose, j'ouvre mes photos (enregistrées uniquement en Raw) sous Camera-raw pour effectuer un premier travail d'analyse (par groupe de +- 30 vues à la fois)
    - vérification une par une en taille réelle et élimination des photos non satisfaisantes techniquement ou en doublon...
    - application de quelques corrections globales (objectif...)
    - une par une, correction éventuelle des densités et de la colorimétrie...
    Me manque la possibilité d'ajouter des métadonnées (ce que je fais actuellement sous Bridge) :
    - en global, copyright et lieu de prise de vue
    - et spécifiquement des mot-clefs...
    - le faire sous Camera-raw permettrait de gagner beaucoup de temps !
    Je ne fais rien de plus - pas de passage en jpg . Lorsque je veux exploiter une photo je l'ouvre sous Photoshop et si je dois la retravailler (...recadrage p.ex.) je l'enregistrai alors sous .psd
    Lightroom ne me sert qu'à retrouver, via les mots-clefs, une collection parmi mes 75 000 photos réparties sous 3 disques et 5 Terabit.
    Hello,
    Camera-raw is a very good tool, but he is it's a pity that we cannot use  it  to inform our own metadatas.
    Maybe that some work as me.
    Before anything else, I open my photos ( recorded  only in Raw) under Camera-raw to make a first work of analysis (in groups of + - 30 views  at the same time)
    - Check one by one in real size and elimination of the not satisfactory photos technically or in double ...
    - Application of some global corrections (lens...)
    - One by one, possible correction of the densities and the colorimetry...
    Misses me the possibility of adding metadatas (what I'm doing at present under Bridge) :
    - In global, copyright and place of shooting
    - And specifically keys-words ...
    - To make it under Camera-raw would allow to save a lot of time !
    I make nothing more - no passage jpg. When I want to exploit  a photo I open  it  under Photoshop and if I have to work again  it  (reframing e.g.) I registered  it then under .psd
    Lightroom serves me only to find, via the keys-words, a collection among my 75 000 photos distributed under 3 disks  and 5 Terabit.

  • Accessing and retreiving ResultSets through CORBA via JDBC

    Hey,
    Im in the middle of doing a project and I was originally planning to connect to the database through JDBC over TCP/IP only. Everything worked fine. Now Ive been told that I have to use CORBA to relay the result sets over from the remote database. ie An applet requests information, queries the CORBA server, the CORBA server via JDBC then queries the database and gets the result set. The result set is sent back via CORBA to the client applet, where the data is then manipulated.
    What I want to know is it actually possible to do this? I only know a small amount of CORBA and Ive been crawling the web for even a small example of it. Could anyone help me out. Ive been looking for the past week and you guys are my last hope.
    Thanks in advance

    Hi,
    You won't be able to send actual instances of the Java class ResultSet via CORBA. All interfaces and data structures you use must be defined in CORBA IDL. You should be able to find a lot of tutorials about general CORBA, including the ones at the bottom of
    http://java.sun.com/j2se/1.4.1/docs/guide/idl/index.html
    You should define an interface in CORBA IDL for your server that the client applet will call. Probably you'll have a method which takes the query parameters and returns some sort of data structure that you also define in IDL.
    The only problem I really see is whether or not the JVM your browser uses does CORBA very well.
    - Everett

  • Client side Information via Web

    Anyone have any experience in accessing client side information
    via Web Forms. I need to pull user info from their machine vice
    the server, which is actually running the form.
    null

    Jeffrey Porter (guest) wrote:
    : I'm looking for information on how to construct the link
    between
    : the web server and the database such that the client is not
    : required to establish the database link. Everything is server
    : side with the client passing in values via web submits and
    : information returned via constructed HTML. I think the reason
    : this is all constructed this way is to fit into the JAVA
    security
    : model for web based application processes. I have constructed
    : the JDBCODBC bridging with the client making the dattabase
    : connection but now I want the connection shifted from the
    client
    : to the server.
    (1) In your system there are 3 nodes. The first one is the web
    client running a browser posting HTTP request to your web server.
    Your web server is a server to the web client but also a client
    to your Oracle database server. From the web client browser you
    cannot communicate directly with the Oracle server directly
    through JDBC. Your CGI scripts (you have not specified what web
    scripting tool you are using) written in Java may communicate
    with your Oracle database using the JDBC drivers available in
    your $ORACLE_HOME/jdbc/lib/classes111.zip file.
    (2) You do not need any JDBC-ODBC bridge to access Oracle
    databases. You should use the Oracle JDBC drivers.
    NM
    null

  • Lost index stats in Ora 8.1.6 Tables when selecting via jdbc

    Hi,
    i'm using JBuilder8 and Kylix2 on a Linux machine with Oracle oci drivers of client 8.1.7.
    The connect through JB8 jdbc via DBPilot is succesful and shows the tables of the db.
    After executing a select on any table the index stats of this table are lost.
    Kylix works fine without this failure.
    Thanks for any comments to this problem
    Jens

    Well, it's not the PL/SQL code that is causing a problem. Everything worked fine for many months. Then one day (without any changes in the environment or code) the update of a table from a java application (via JDBC) fails. The same update done directly on the DB with SQL Plus still succeeds!
    This led us to think that something is wrong with the JDBC connection (which was up for several months). Maybe a memory corruption?
    Anyone that experienced similar problems with JDBC?

  • In firefox I am unable to submit information via form buttons. The buttons are present and clickable but nothing happens once they are clicked.

    I am having trouble submitting information via form buttons. I click on the button but nothing happens. It isn't site specific and is a problem that has only started to happen recently. I have uninstalled firefox and reinstalled it without any rememdy. The problem does not replicate itself in Chrome or Internet Explorer. Can anyone advise what maybe the problem? Is it s a javascript setting within firefox that I may have accidentally turned off? Please help.

    Thank you for the help but I found the answer here: http://support.mozilla.com/tiki-view_forum_thread.php?locale=en-US&comments_parentId=601699&forumId=1
    I am pretty sure you had the same diagnosis and solution to start it in safe mode, and if it does work, go disabling each extension one by one until you determine which extension is the culprit.
    Thanks!

  • Connecting to IDMS database via JDBC

    Has anyone successfully set up JDBC connectivity to generate reports using data in an IDMS mainframe database containing multiple schemas, where several schemas may contain tables with the same name? 
    We have no issues when using ODBC to connect to the various schemas in this IDMS databases, but we need to convert the connectivity for existing reports to JDBC. 
    When I open the JDBC connection, I see the expected hierarchy of schemas and tables in the Database Expert window.  If I try to select a table I get the following error message if a table of that same name exists in other schemas:
    Failed to retrieve data from the database.
    Details:  SQL exception: [SQL State:]  42000  [Error message:]  DB002046 T11094 C-4M347: Duplicate table ids for ASISCHEM.SR-ACT and CORPCHEM.SR-ACT in area CORPDB.ACTIVITY-AREA [Database Vendor Code: -4]
    So although we can connect to the database via JDBC, we can't use the connectivity because Crystal  does not appear to correctly resolve that I'm selecting the table from within a specific schema.
    Can anyone advise on how to make sure the table name selection is qualified by the correct schema name?
    Thanks in advance.

    Hello,
    Try running the query outside of CR to verify the JDBC driver is passing the fully qualified name also.
    Then look in the Designer and Show SQL to verify it's there as well as Set Table Location. You may be able to fully qualify it in that UI.
    Thank you
    Don

  • Error trying to connect via jdbc

    I'm trying to connect via jdbc driver from a java application to a remote db. The code is quite simple
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection
    ("jdbc:oracle:thin:@dbhost:orcl", "user", "password");
    in my CLASSPATH I have the ojdbc14.jar file
    When I run this program I get the following error:
    Exception in thread "main" java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)
    at oracle.jdbc.ttc7.TTC7Protocol.handleIOException(TTC7Protocol.java:366
    8)
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:353)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:371)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:551)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:351)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at Test.main(Test.java:12)
    Please be aware of the following facts:
    1) sqlplus from the same machine has no problem connecting to the db
    2) there is no firewall or router between the client and the server
    3) As host name I've tried the fqdn (resolved by the DNS), a name I've set up in /etc/hosts, the mere IP address
    4) Checking with tcpdump, I've verified that NO network packet actually leaves the client, so the problem completely lies there.
    Has anyone some good idea why this happens?

    Make sure you are providing correct hostname and listener port number

  • Execute anonymous PL/SQL block via JDBC - OUT parameter not available

    I have a simple proc on the database:
    CREATE PROCEDURE TEST(X OUT BINARY_INTEGER, Y IN VARCHAR) AS
    BEGIN
      X := 33;
    END; I am trying to invoke it via JDBC using an anonymous PL/SQL block:
            try {
                Connection connection =
                  DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:ORCL",
                    "scott", "tiger");
                CallableStatement stproc_stmt = connection.prepareCall(
                    "DECLARE\n" +
                    " X_TARGET BINARY_INTEGER;\n" +
                    " Y_TARGET VARCHAR(20) := :2;\n" +
                    "BEGIN\n" +
                    " TEST(X=>X_TARGET, Y=>Y_TARGET);\n" +
                    " :1 := X_TARGET;\n" +
                    "END;"
                stproc_stmt.registerOutParameter(1, Types.NUMERIC);
                stproc_stmt.setString(2, "test");
                stproc_stmt.executeUpdate();
                Object o = stproc_stmt.getObject(1);
            catch (Exception e) {
                e.printStackTrace();
            } No exceptions are thrown, but the Object o does not get the value '33' - it is NULL.
    Any ideas?
    thanks in advance,
    Mike Norman

    I think the issue may be in how JDBC parameter binding is being managed throughout the block's lifecycle.
    The slightly-different TEST2 works:
    CREATE PROCEDURE TEST2(Y IN VARCHAR, X OUT BINARY_INTEGER) AS
    BEGIN
      X := 33;
    END;
    try {
        Connection connection =
          DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:ORCL",
         "scott", "tiger");
        CallableStatement stproc_stmt = connection.prepareCall(
         "DECLARE\n" +
         " Y_TARGET VARCHAR(20) := :1;\n" +
         " X_TARGET BINARY_INTEGER;\n" +
         "BEGIN\n" +
         " TEST2(Y=>Y_TARGET, X=>X_TARGET);\n" +
         " :2 := X_TARGET;\n" +
         "END;"
        stproc_stmt.setString(1, "test");
        stproc_stmt.registerOutParameter(2, Types.NUMERIC);
        stproc_stmt.executeUpdate();
        Object o = stproc_stmt.getObject(1);
    catch (Exception e) {
        e.printStackTrace();
    }The order of the bind indices ':1' and ':2' are reversed in the above anonymous block - we are returning via ':2'.
    I am wondering if 'under the covers' there isn't perhaps a cursor issue. When the original block is parsed and the first bind index is found to be position 2, somehow we can't go back to position 1 - a forwards-only cursor?

  • 10G Forms connect to MS Access via JDBC

    A new project requires a 10G Form to connect to MS Access database. I understand 10G no longer connects to Access using ODBC. Will JDBC work? If JDBC can be used does anyone have a "How To" document or examples on how to connect orms 10G to MS Access via JDBC
    Thanks
    Ralph

    I dont think it will work. In 10g forms is going to implement transparent gateways.
    Is there a possibility of getting the data from MS access directly to Oracle database and then connect to Oracle DB from forms ?
    Rajesh Alex

  • Abap-table access via JDBC

    Hello,
    we have a java-program, that accesses data via jdbc to a mysql-database.
    Now we want to migrate the mysql-table to abap-table.
    How can we access from the  java-program to theese migrated abap-tables via jdbc?
    Regards Oliver

    Oliver,
    If you want to access those tables from SAP, then you have to use the Java Connectors (
    JCO).
    Please write the more details abount the java IDE and OS, which you are using I will send you appropriate help.
    Thanks

  • Can I get information on JDBC to JDBC Using BPM

    Hi @SAPXI
    Can I get information on JDBC to JDBC Using BPM
    Thanks
    Rao

    hi
    look into this u ll get the answer
    JDBC to JDBC Scenerio
    regards
    kish
    reward if found useful

Maybe you are looking for

  • My iPod can charge, but it won't show up on iTunes or the Finder

    Okay, here's what happened: My 1.8 GB ipod nano has worked well with my Mac OS X, Version 10.2.8, with me putting music unto my iPod, which i've had for a good while...until yesterday, when I tried connecting it to my computer (which was previously n

  • How to share 3G with other Apple devices

    Hi, I just updated my iPad to iOS 4.3 and I can't find how to share my Internet connection with other devices. Could you help me? Thanks,

  • KDE SC 4.4.0 released

    KDE announced the availability of its Software Compilation 4.4, "Caikaku". You will find all upstream changes and new features on their website. As usual we provide the latest packages for Arch. Unfortunately this update will need some user intervent

  • Passing Internal tables between pages (in stateless appl.)

    hi BSP gurus, how do I pass internal tables from one BSP page to another. The problem is that the appl. is stateless and hence I am not able to use the appl. class. thanks in advance, Ashish Walke

  • Need to upgrade from OS X 10.2.8

    I am trying to upgrade my PB G4 from Jaguar. but not sure how to change to a different operating system. Can anyone help?