Database metadata - does it work in Oracle ?

I have logged previous entries regarding this subject all to no avail.
I am using Oracle 8.1.6, and the JDK 1.2 thin drivers.
I am attempting to read the metadata from the database for the user tables, however I keep getting SYSTEM tables as well.
I have been using the databasemetadata.getTables method with one of the parameters set to {"TABLE"}, this retrieves ALL tables including system tables.
When I try this with {"SYSTEM TABLE"} it returns NO entries at all. At least if this were to work, I could use the results to prune out the list I get back from the earlier call.
Is it not possible in Oracle (via the Oracle JDBC drivers) to get a list of user tables as opposed to system tables?
Both of these operations (i.e. USER versus SYSTEM) work perfectly in Sybase and SQL-Server, so I don't understand why it doesn't work in Oracle.
The Oracle JavaDoc for these methods actually refers to these specific values as well, suggesting that it should work - has anyone had any success with this ?
null

Please explain it does not work in APEX? Is the application updating tables that have a trigger? APEX does NOT override trigger actions. Is it possible the values your trigger is looking for are NOT available in your APEX application? Can you post the trigger code here for review?
Thank you,
Tony Miller
Webster, TX
What if you really were stalking a paranoid schizophrenic... Would they know?
If this question is answered, please mark the thread as closed and assign points where earned..

Similar Messages

  • Headstart forms - down key does not work in Oracle Forms 11g

    Just moved forms from 10g to 11g.
    But when run the down key does not work. The .res file looks OK.
    I have included the hst65.jar in the search path for jar-files in formsweb.cfg.
    Anybody had this isssue?

    It was an erroneous .res-file! So problem solved. :-)

  • Ankh SVN does not work with Oracle DB Project in ODT 11.1.0.5.10 beta

    I was able to add the new Oracle Database Project to my Subversion repository using TortioseSVN, but unfortunately, the Ankh Source Control options do not appear within Visual Studio and none of the icon overlays appear within Visual Studio.
    Does anyone know any way to get this to work? Does anyone know if this would be an issue with Ankh or with the new Oracle Database Project?
    null

    Yes. Visual C# class projects work just fine with Ankh. It's only the new Oracle Database Project that doesn't have any Ankh menu options or Ankh icon overlays.
    Check out this screenshot of my Visual Studio Solution explorer:
    http://www.mixcollective.com/media/559/oracledbproject.jpg
    You'll see that none of the folders under "Oracle.New" (a new 11.1.0.5.10 beta Oracle Db Project) have the green/read/yellow Ankh icons that indicate the status of the file. Also, none of the repository commit, update, etc options are available when you right click on folders or files in the project.

  • Does multilingual work with Oracle oci8 Driver? I am facing problems with oci8 while thin driver works fine ...

    Hi, I am currently working on iPlanet 6.0 SP4 with oracle 8.1.6. I am planning to make my application language independent. while testing I figured out that if i use oci8 driver or oracle, it doesn't support other language characters while the thin driver supports fine. Can anybody help me regarding this? Is this a bug, or some possible configuration issue? Has somebody came across this problem before? How do i go about it ?

    We faced same issue. Looks like the native driver does not support the automatic data encoding/decoding from/to database. You can always workaround this by reading everything as byte stream and then by letting java handle the encoding/decoding. But we decided to use type4 thin driver which does this automatically if you set the content type. Anyway we are told that later versions of IAS may not support native drivers, so if you are serious about multi language shift to type4 thin drivers now itself.

  • Downcasting In Object PL/SQL Does not Work in Oracle 10g 10.1.0.2

    create type one_t as object (
    x number, y date ) not final
    create type two_t under one_t()
    set serverout on
    declare
    super one_t;
    sub two_t := two_t(1, sysdate);
    begin
    super := one_t(1, sysdate);
    sub := new two_t(1, sysdate);
    dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
    select treat(super as two_t) into sub from dual;
    dbms_output.put_line('super ' || super.x || ' ' || super.y );
    if sub is null then
    dbms_output.put_line('stupid');
    end if;
    if sub is of (two_t) then
    dbms_output.put_line('stupid');
    end if;
    end;
    The Other Piece Does not Even Compile
    declare
    super one_t;
    sub two_t := two_t(1, sysdate);
    begin
    super := one_t(1, sysdate);
    sub := treat(super as two_t);
    dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
    select treat(super as two_t) into sub from dual;
    dbms_output.put_line('super ' || super.x || ' ' || super.y );
    if sub is null then
    dbms_output.put_line('stupid');
    end if;
    if sub is of (two_t) then
    dbms_output.put_line('stupid');
    end if;
    end;
    ORA-06502: PL/SQL: numeric or value error: cannot assign supertype instance to
    subtype
    ORA-06512: at line 6

    You need use correct type when you create object.
    Don't forget object in reality is a memory pointer,
    so what if you don't allocate correct memory in creation,
    you can't treat object as subtype.
    And meanwhile, it doesn't depend on Oracle version -
    your example doesn't work in 9.2.0.1 for example.
    SQL> declare
      2  super one_t;
      3  sub two_t := two_t(1, sysdate);
      4  begin
      5  super := two_t(1, sysdate);
      6  sub := treat(super as two_t);
      7  dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
      8  select treat(super as two_t) into sub from dual;
      9  dbms_output.put_line('super ' || super.x || ' ' || super.y );
    10  if sub is null then
    11  dbms_output.put_line('stupid');
    12  end if;
    13  if sub is of (two_t) then
    14  dbms_output.put_line('stupid');
    15  end if;
    16  end;
    17  /
    sub 1 08.06.05
    super 1 08.06.05
    stupid
    &nbsp
    PL/SQL procedure successfully completed.Rgds.

  • Downcasting in Object PL/SQL Does not Work in Oracle 10g Enterprise Edition

    create type one_t as object (
    x number, y date ) not final
    create type two_t under one_t()
    set serverout on
    declare
    super one_t;
    sub two_t := two_t(1, sysdate);
    begin
    super := one_t(1, sysdate);
    sub := new two_t(1, sysdate);
    dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
    select treat(super as two_t) into sub from dual;
    dbms_output.put_line('super ' || super.x || ' ' || super.y );
    if sub is null then
    dbms_output.put_line('stupid');
    end if;
    if sub is of (two_t) then
    dbms_output.put_line('stupid');
    end if;
    end;
    The Other Piece Does not Even Compile
    declare
    super one_t;
    sub two_t := two_t(1, sysdate);
    begin
    super := one_t(1, sysdate);
    sub := treat(super as two_t);
    dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
    select treat(super as two_t) into sub from dual;
    dbms_output.put_line('super ' || super.x || ' ' || super.y );
    if sub is null then
    dbms_output.put_line('stupid');
    end if;
    if sub is of (two_t) then
    dbms_output.put_line('stupid');
    end if;
    end;
    ORA-06502: PL/SQL: numeric or value error: cannot assign supertype instance to
    subtype
    ORA-06512: at line 6

    You need use correct type when you create object.
    Don't forget object in reality is a memory pointer,
    so what if you don't allocate correct memory in creation,
    you can't treat object as subtype.
    And meanwhile, it doesn't depend on Oracle version -
    your example doesn't work in 9.2.0.1 for example.
    SQL> declare
      2  super one_t;
      3  sub two_t := two_t(1, sysdate);
      4  begin
      5  super := two_t(1, sysdate);
      6  sub := treat(super as two_t);
      7  dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
      8  select treat(super as two_t) into sub from dual;
      9  dbms_output.put_line('super ' || super.x || ' ' || super.y );
    10  if sub is null then
    11  dbms_output.put_line('stupid');
    12  end if;
    13  if sub is of (two_t) then
    14  dbms_output.put_line('stupid');
    15  end if;
    16  end;
    17  /
    sub 1 08.06.05
    super 1 08.06.05
    stupid
    &nbsp
    PL/SQL procedure successfully completed.Rgds.

  • Client-cert auth impl in web.xml does not work in Oracle Application Server

    Hi,
    I am new to implementing security features on the web applications.. I have developed a new web service using jdev1012 and deployed in OAS 10.1.2. Its working fine according to the business requirements, but I am in need of implementing client-cert authentication to enable the web service available to only those who have client certificate.
    My server details are:
    Oracle Application Server 10g Release 2 (10.1.2)
    Server certificate is in place and SSL mode have been already enabled.. able to access my web service through https://<mydomain.com>/myws/TreqWS as well able to see the WSDL file through https://<mydomain.com>/myws/TreqWS?WSDL.
    I tried to include the following in my web.xml file as part of implementing CLIENT-CERT authentication.
    <security-constraint>
    <display-name>SecurityConstraint</display-name>
    <web-resource-collection>
    <web-resource-name>WSCollection</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <user-data-constraint>
    <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    <login-config>
    <auth-method>CLIENT-CERT</auth-method>
    <realm-name>WSCollection</realm-name> <!-- am not sure about this realm-name and its purpose -->
    </login-config>
    It is not woking as expected, though I have restarted my oc4j container after including this content to the web.xml file. i.e, I am able to invoke the web service though my sample java client program, though I donot have client certificate/keystore.
    I believe I am missing something..Can anyone help me in this regard to implement CLIENT-CERT authentication successfully?
    Thanks,
    Ms

    I am having the same problem with doc and xsl. I have added this
    <mime-mapping>
    <extension>xls</extension>
    <mime-type>application/vnd.ms-excel</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    to my web.xml. I even restarted the server. I still see doc and xsl in binary.
    Is there some other setting that needs to take place?
    I am using WL6.1 with fixpack 1.
    I can see the doc and excel files in the browser if I don't go through the weblogic
    server. That just confirms it's not my browser.
    Kumar Allamraju <[email protected]> wrote:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    It works fine for me in 6.1 SP1.
    <br><br>
    If the following doesn't work , can you
    <br>try application/winword instead of application/msword?
    <p>--
    <br>Kumar
    <p>Siming Mu wrote:
    <blockquote TYPE=CITE>Hi,
    <p>I setup in my web.xml a mime mapping as follows,
    <p><mime-mapping>
    <br><extension>doc</extension><mime-type>application/msword</mime-type>
    <br></mime-mapping>
    <p>When I specify a test.doc url, the doc file appears in my browser
    as
    binary data
    <br>instead of download.
    <p>Please reference change request 055002, which decribes this problem. 
    According
    <br>to edocs, it has been fixed in wls6.1sp1.
    <p>But I am seeing it fixed.  Am I doing anything wrong? Thanks.
    <p>Siming</blockquote>
    </html>

  • Ralink RA3290 does not work on Oracle Linux

    I have just bought a new HP Pavilion G6-2213so which seems to have a ralink rt3290 wifi chipset
    (Just so you know I'm not very experienced with linux when it comes to install new drivers etc)
    I have installed:
    Red Hat Enterprise Linux Server release 6.3 (Santiago)
    Linux hp-v074617 2.6.39-300.17.2.el6uek.x86_64
    I have downloaded a driver from mediatek, unzipped it and
    ran
    make
    make install
    modprobe rt3290sta
    When I run i got
    lsmod|grep rt3290
    rt3290sta 1255193 0
    iwconfig
    lo no wireless extensions.
    ra0 Ralink STA
    Link Quality:0 Signal level:0 Noise level:0
    Rx invalid nwid:0 invalid crypt:0 invalid misc:0
    eth0 no wireless extensions.
    rfkill list all
    0: hp-wifi: Wireless LAN
    Soft blocked: no
    Hard blocked: no
    1: hp-bluetooth: Bluetooth
    Soft blocked: yes
    Hard blocked: no
    dmesg|grep rt3290
    rt3290sta: module license 'unspecified' taints kernel.
    (Related to GPL I think but not sure if it has an impact)
    To me it seemes that the system are aware of my wifi card but still I can not get any wifi connection
    Apprecate if someone can tell me if I missed something or what other steps I need to do to make it work
    Best regards
    Magnus

    Support and demand for Wifi on a Linux enterprise server system (RHEL based) is generally limited and usually a desktop system requirement, for which other more suitable Linux distributions exist.
    You need to be 100 % about the model of your Wifi adapter.
    What is the output of lspci -v related to your Wifi adpater?
    Does the driver you download support the Oracle UEK2 kernel (2.6.39)?
    You could try your installation starting the system from the original RHEL kernel at the Grub menu to see if it makes any difference. If HP support nor the OS installation provides a driver for your hardware, check http://elrepo.org/tiki/tiki-index.php which focuses on hardware related packages to enhance Enterprise Linux.

  • Does Dreamweaver work with Oracle Content Management

    I'm trying to use Dreamweaver with our company WebDAV. Oracle
    is having me use Site Studio to build our intranet pages but it's
    capabilities are so limited. Has anyone had any luck using
    Dreamweaver in this environment?

    We faced same issue. Looks like the native driver does not support the automatic data encoding/decoding from/to database. You can always workaround this by reading everything as byte stream and then by letting java handle the encoding/decoding. But we decided to use type4 thin driver which does this automatically if you set the content type. Anyway we are told that later versions of IAS may not support native drivers, so if you are serious about multi language shift to type4 thin drivers now itself.

  • PL/SQL does not work in Oracle 8i Personal Edition

    I just installed Oracle 8i Personal Edition for Win 98. Everything works perfectly, except the PL/SQL.
    Then I tried to install Oracle 8i EM, but I always get the listener or adapter error. Even when I tried to start the listener from lsnrctl prompt, it gives me those errors. Anyone can help?

    You need use correct type when you create object.
    Don't forget object in reality is a memory pointer,
    so what if you don't allocate correct memory in creation,
    you can't treat object as subtype.
    And meanwhile, it doesn't depend on Oracle version -
    your example doesn't work in 9.2.0.1 for example.
    SQL> declare
      2  super one_t;
      3  sub two_t := two_t(1, sysdate);
      4  begin
      5  super := two_t(1, sysdate);
      6  sub := treat(super as two_t);
      7  dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
      8  select treat(super as two_t) into sub from dual;
      9  dbms_output.put_line('super ' || super.x || ' ' || super.y );
    10  if sub is null then
    11  dbms_output.put_line('stupid');
    12  end if;
    13  if sub is of (two_t) then
    14  dbms_output.put_line('stupid');
    15  end if;
    16  end;
    17  /
    sub 1 08.06.05
    super 1 08.06.05
    stupid
    &nbsp
    PL/SQL procedure successfully completed.Rgds.

  • "contains" and "order by" does not work in Oracle 9i

    Hello All.
    I have next query:
    select q.*
    from
    (SELECT v.id, o.longname as name, v.dord,
    TP.longname as TYPE_NAME, v.actualfl, o.NORD, v.version
    FROM R_ORD O, R_VORD V, R_TPORD TP, R_BODY b
    WHERE TP.ID = o.tp_id and v.ORD_ID = o.ID
    and v.ID = b.ID(+) and v.actualfl = '1'
    and CONTAINS( o.longname, 'bank%', 1) > 0
    ) q
    ORDER BY name
    It's work perfect in Oracle 8.1.7, but I can not get result of the query in Oracle 9.
    If I comment
    -- ORDER BY name
    or
    -- and CONTAINS( o.longname, 'bank%', 1) > 0
    then the query return a result.
    Please help.
    Thanks in advance.
    P.S. I use Oracle 9i SR1 and
    sort_area_size = 524288
    sort_area_retained_size = 0
    Victor Zogin.

    Description Cost Cardinality Byte
    SELECT STATEMENT, GOAL = CHOOSE               6     1     1260
    SORT ORDER BY               6     1     1260
    COUNT                         
    NESTED LOOPS OUTER               4     1     1260
    NESTED LOOPS               8     1     1247
    NESTED LOOPS               3     61     11895
    TABLE ACCESS BY INDEX ROWID     OMEGA     R_TPORD     1     1     140
    INDEX RANGE SCAN     OMEGA     PK_R_TPORD     1     1     
    TABLE ACCESS BY INDEX ROWID     OMEGA     R_VORD     2     149     8195
    INDEX RANGE SCAN     OMEGA     IDX_R_VORD_ACT     1     149     
    TABLE ACCESS BY INDEX ROWID     OMEGA     R_ORD     8     1     1052
    DOMAIN INDEX     OMEGA     CK_ORD_IDX     4     1     
    INDEX UNIQUE SCAN     OMEGA     PK_R_BODY          22437     291681

  • Is there any enterprise class PHP framework that works with Oracle ?

    Hi everyone,
    I am investigating the possibility of using some kind of PHP framework that will help develop enterprise class web applications. -- something similar to Oracle's ADF for Java --
    I have spend the last two weeks working with symfony which appears to be very attractive but does now work with Oracle. (Well at least I haven't been able to make it work).
    So my question is what are you people using? I mean you can't go around witting PHP scripts that display HTML tables with embedded echo's in them, each time you want to display the results of a query...
    Thanks in advance
    Thanassis

    There is Cake, but I have no experience. I wrote an article about Symfony, after I was tasked with maintaining a PHP application written with Symfony. A colleague has left the company and the application was given to me. Since then, I have left the company, so I am no longer in such close contact to PHP frameworks. The information about Cake can be found at http://cakephp.org. I have no experience whatsoever with it.

  • Oracle 9i Database Software Registraton Does Not Work

    The link http://www.oracle.com/technology/software/registration/index.html?9ibooks does not work and shows the messgae, "An error occurred while processing the request. Try refreshing your browser. If the problem persists contact the site administrator."
    Please fix the link or give instructions to get the registration key.
    Thank you,
    Robert Hunter
    [email protected]

    This program is defunct. We suggest that you download Oracle Database 10g Express Edition:
    http://www.oracle.com/technology/products/database/xe/index.html
    ...which is free, with no reg key required.
    Cheers, OTN

  • Oracle Database Express Edition 11g Release 2: Does not work in Windows x64

    Hi
    I download a year ago oracle 10g and installed in windows7/64bit.
    Then I messed up my computer. So I had to reinstall from scratch.
    oracle 10g seems to be not available anymore.
    Now 11g is available. But it says does not work in x64.
    Can somebody explain this?
    Thanks
    Beat

    Hi, and welcome to the OTN forums!
    I download a year ago oracle 10g and installed in windows7/64bit.
    Now 11g is available. But it says does not work in x64.Well, in fact, 10.2 XE wasn't certified for x64 either, not even for Linux x64...
    11.2 XE has a Linux x86_64 release, and there has been an announcement that there'll be a x64 release for Windows as well, but it's not available (yet).
    There have been a lot of reports that people got 11.2 XE work on x64 Windows machines as well, with a few tweaks at installation time and/or afterwards...
    You'll find tons of posts on that topic when using forum search...
    oracle 10g seems to be not available anymore.Right, the official downloads have been removed after all database 10.2 releases fell out of (regular) support.
    -Udo
    Edited by: Udo on 15.04.2013 21:48

  • Does BAM works with only Oracle database at the backend.

    Hi, I was wondering if Oracle Bussiness Activity Monitor(BAM) implemented within ADF application works with Oracle database as Oracle database is one of the very few databases supporting Database Change Notification? Or can it be implemented using MySQL database etc.
    Thanks!
    Edited by: 996574 on Jun 3, 2013 2:06 PM

    AFAIK only Oracle db supports Database Change Notification.
    Timo

Maybe you are looking for

  • Unable to find the Adobe PDF resource file

    I am unable to create PDF files from a Microsoft office document.  I am operating Windows 8.1 and Adobe professional XI.  I received the following error message: unable to find "Adobe PDF" resource file "Adobe PDF maker."  I have followed the previou

  • HT4437 Cannot play protected movies on AirPlay from iPad

    I cannot play a movie from my iPad to my Apple TV device. I get an error "cannot play protected movies". Why is this when I bought the digital copy with the Blu-ray Disc ?

  • Qosmio F10-121 while startup screen becomes striped with big purples stripes

    Hi ! I suddenly had a problem with my Qosmio. Perhaps someone could help me. When I turn on my computer, the Qosmio logo appears (sound ok) and then, Windows logo. But here comes the problem, my screen becomes striped with big purples stripes. I can'

  • SSRS Print one row then detail urgent...

    hi all, I have a report that has two sections of data. In a list component with textboxes I have Barcode, warehouse location, pallets. Then below this I have detail information in a tablix including Racklocation Use by date, Qty, Product, Description

  • Vista SP1 on my laptop

    I recently noticed Vista SP1 on Windows Update. It has been nagging me to no end trying to get me to install it. Does anyone know of any compatibility issues, bugs, etc? Thanks. P.S: Windows Vista Home Premium x86-32, currently no service packs insta