SQL*PLUS VS HTML IGU APEX (Application Express 3.2.1.00.12)

Hello,
Could anybody gives me a clue about the following?
Thanks for any help.
Claude
A did this:
CREATE OR REPLACE TYPE "A" AS OBJECT (v_a NUMBER) NOT FINAL;
CREATE OR REPLACE TYPE "B" UNDER A (v_b NUMBER);
CREATE TABLE "TA" OF "A";
INSERT INTO TA VALUES(A(1));
...some other similar inserts...
INSERT INTO TA VALUES(B(1,2));
Till now all is ok...but after I try to launch the following simple command:
SELECT REF(p) FROM TA p;
If I launch it from the SQL*PLUS the result is OK ->
REF(P)
000028020981708518CF81BCD2E040007F01011CDB81717581F4E5C8A9E040007F010109B1010000
F40000
000028020981708518CF82BCD2E040007F01011CDB81717581F4E5C8A9E040007F010109B1010000
F40001
000028020981708518CF83BCD2E040007F01011CDB81717581F4E5C8A9E040007F010109B1010000
F40002
If I launch it from theHTML IGU the APEX result is KO ->
ORA-00932: inconsistent datatypes: expected NUMBER got REF CLASIE.A
CF -> [Print screen IGU APEX|http://www.virgox.net/ref.png]
My system:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE     10.2.0.1.0     Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production

the problem is reproducoble on apex.oracle.com (current version 4.0.0.00.46)
Who can say that it is BUG or FEATURE?
...meanwhile have to add check ACCOUNT_LOCKED = 'N' to custom auth function...

Similar Messages

  • Replacement variables SQL Plus x PLSQL x APEX

    How Can I use replacement variables SQL Plus, integrating with APEX ,PLSQL?

    This isn't going very well is it?
    Perhaps it has something to do with a lack of knowledge of the english language, that you don't explain your case more, but I'll try to rephrase your question:
    You would like to call a query in SQL*PLUS from an Apex application?
    Then my answer would be simple: you can't.
    But my return question would be: why would you want that?
    You can also run your query in your Apex application and show the result on a page. Why is there a need to run it in SQL*PLUS?

  • Limitation in using sql *plus as a database for applications

    dear experts;
    I would like to know all, what are some of the major limitations in using sql*plus as your database in designing application besides the fact the user-interface is not friendly enough..and google is not producing relevant answers to my questions by the way unfortunately

    user13328581 wrote:
    I know about the drivers, I just need an IDE very similar to PL/SQL developer that will give me an opportunity to create the tables and their relationships and perform other DDL tasks that is why initially i was just wondering whether it is okay to utilize sql*plus for all that...SQLPlus can process any valid sql statement. Actually, it will pass anything that is not a sqlplus command to the database to be processed. The database will process any valid sql statement and pass the result back to the client to do with as the client sees fit - the client being sqlplus in this case.
    Which is exactly what SQL Developer does. You say you want something "very similar to PL/SQL developer ". Why not SQL Developer itself?
    It sounds like you continue to confuse the database with the client application. ("what are some of the major limitations in using sql*plus as your database ...", "I need an oracle database which can be integrated with visual studio ")
    The database has no user interface at all. It accepts connection requests from clients, processes sql statements (or pl/sql blocks) passed from those clients and returns results to those clients. Those clients could be sqlplus, SQL Developer, Toad, Visual Basic, Access, Excel, or any number of other products -- all connecting to the same database at the same time, to do whatever they are programmed to do. You want to develop an app in visual studio? Be my guest. You want to use SQL Developer to create the tables, etc, needed by the app? Go right ahead. They are not mutually exclusive. You want to use sqlplus as well? Go ahead, it's the same database, just a different client app.

  • APEX 'Application Express Login' shows Blank Page

    Hi,
    I have just installed 11gr2 and APEX 4.1 with 'Apex Listener' on windows 7 64bit. Database is Up Listener is running but still i am getting Blank Login page.
    http://127.0.0.1:8080/apex/f?p=4550:1:6450419446175836
    Can any one please guide me how to troubleshoot the issue.
    Regards,
    Usman.

    Hi,
    Yes, I have configured 'APEX Listener' .
    Let mw tell you the step i am doing
    1. Start the 11gr2 database.
    2. Run the following command
    E:\apex_listener>"%ABC%\jre6\bin\java" -jar apex.war
    INFO: Starting: E:\apex_listener\apex.war
    See: 'java -jar apex.war --help' for full range of configuration options
    INFO: Extracting to: C:\Users\USMANM~1\AppData\Local\Temp\apex
    INFO: Using classpath: file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/____
    embedded/start.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/WEB-INF/
    lib/apex.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/WEB-INF/lib/co
    mmons-fileupload-1.2.1.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/
    WEB-INF/lib/je-4.0.103.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/
    WEB-INF/lib/ojdbc6.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/WEB-
    INF/lib/ojmisc.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/WEB-INF/
    lib/poi-3.6-20091214.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/WE
    B-INF/lib/ucp.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/WEB-INF/l
    ib/xdb-11.2.0.jar:file:/C:/Users/USMANM~1/AppData/Local/Temp/apex/apex/WEB-INF/l
    ib/xmlparserv2-11.2.0.jar:
    INFO: Starting Embedded Web Container in: C:\Users\USMANM~1\AppData\Local\Temp\a
    pex
    Oct 1, 2011 10:13:30 AM ____bootstrap.Deployer deploy
    INFO: Will deploy application path=C:\Users\USMANM~1\AppData\Local\Temp\apex\ape
    x\WEB-INF\web.xml
    Oct 1, 2011 10:13:31 AM ____bootstrap.Deployer deploy
    INFO: deployed application path=C:\Users\USMANM~1\AppData\Local\Temp\apex\apex\W
    EB-INF\web.xml
    Using config file: C:\Users\USMANM~1\AppData\Local\Temp\apex\apex-config.xml
    -- listing properties --
    PropertyCheckInterval=60
    ValidateConnection=true
    MinLimit=1
    MaxLimit=10
    InitialLimit=3
    AbandonedConnectionTimeout=900
    MaxStatementsLimit=10
    InactivityTimeout=1800
    MaxConnectionReuseCount=1000
    APEX Listener version : 1.1.3.243.11.40
    APEX Listener server info: Grizzly/1.9.18-o
    Oct 1, 2011 10:13:32 AM com.sun.grizzly.Controller logVersion
    INFO: Starting Grizzly Framework 1.9.18-o - Sat Oct 01 10:13:32 PKT 2011
    INFO: http://localhost:8080/apex started.
    3. Try to access the page at "http://localhost:8080/apex"
    Returns with BLANK PAGE
    Kindly guide me.
    Regards,
    Usman.

  • SQL Plus in 11g

    Hi all,
    <br><br>
    After installing Oracle 11g, I noticed SQL Plus is not installed as part of the software group. I've been advised to use SQL Developer, yet I feel more comfortable in using SQL Plus. Also, I noticed SQL Plus is part of the Oracle DB documentation.
    <br>
    <br>
    <b>
    How can I install Oracle SQL Plus version 11 with Oracle DB 11g software?</b>

    SQLPlus is no longer available for 11g, isqlplus neither is. The only option you have is the regular sqlplus CLI (Command Line Interface), and the sqlDeveloper tool, which is no longer installed as a standalone product, but embedded with the 11g Installation.
    It was notified by means of the dessuport notice from Oracle through Metalink Note 359855.1 (isqlplus), 359859.1 (sqlplusw.exe), which states an official statement recommends to migrate to either SQL*Plus command line (CLI), Oracle Application Express, or Oracle SQL Developer.
    ~ Madrid

  • Application Express 3.2.1 post installation problem

    I upgraded Oracle database XE with Application Express 3.2.1
    The installation was succesfull. The logfiles contains the text: Thank you for installing ... etc
    The post installation tasks give me some problems. As I upgraded from Oracle Database XE, I am using the 10.g version. That is correct?
    That means I cannot use the embedded PL/SQL gateway, foir this works only with version 11g. So I must configer the Oracle HTTP server and mod_plsql. That is correct?
    After installation I am supposed to copy the image directory in the ORACLE_HTTPSERVER_HOME \Apache directory
    I have no idea where that directory is. A search on my C: drive returns no results.
    How can I find the ORACLE_HTTPSERVER_HOME \Apache directory?
    Any help is welcome
    Hans

    Hi,
    Oracle XE comes with EPG even it is 10g
    This might help
    http://www.oracle.com/technology/products/database/application_express/html/3.2_and_xe.html
    If you install was ok then you need just update images and set/reset Apex admin password
    # Connect to SQL*Plus as SYS
    # @APEX_HOME/apex/apxldimg.sql APEX_HOME
    # @APEX_HOME/apex/apxxepwd.sql password
    For the steps above, APEX_HOME is the directory where the Application Express software was unzipped.
    Br,Jari
    Edited by: jarola on Feb 27, 2010 11:49 AM

  • Application Express 2.2 Installation

    Hello,
    I just installed APEX 2.2. But, when I go to the Sample Application or any page and try to edit, I get a blank screen. When I checked the Apache.log, I found the following error. Did anyone come across this error ? How can I fix this ?
    mod_plsql: /pls/htmldb/src= HTTP-400 Name "src=" has invalid character '0x3d' (hex-encoded)
    Thanks
    Naresh

    Hi,
    Oracle XE comes with EPG even it is 10g
    This might help
    http://www.oracle.com/technology/products/database/application_express/html/3.2_and_xe.html
    If you install was ok then you need just update images and set/reset Apex admin password
    # Connect to SQL*Plus as SYS
    # @APEX_HOME/apex/apxldimg.sql APEX_HOME
    # @APEX_HOME/apex/apxxepwd.sql password
    For the steps above, APEX_HOME is the directory where the Application Express software was unzipped.
    Br,Jari
    Edited by: jarola on Feb 27, 2010 11:49 AM

  • Integrate an Apex Application with the E-Business Suite 11i

    Hi !
    I'm currently working to get connected to APEX (Application Express 3.2.1.00.11) using an E-Business Suite 11i form function then using the ICX cookie.
    I'm using a document created by Rod West(consultant at Cabot Consulting) to help me doing this connection.
    The document is : http://www.oracle.com/technology/products/database/application_express/pdf/apex_ebs_wp_cabot_consulting.pdf
    I always have errors when I try to get connected using the method suggested in the document.
    The error I have received is :
    ORA-00942: table or view does not exist ORA-00942: table or view does not exist ORA-06512: at "APPS.ICX_SEC", line 2388 ORA-06510: PL/SQL: unhandled user-defined exception
    This error seems to come from wfa_sec.getsession(:P101_USERNAME) used in the Before Header process of the login page(Page101).
    See code here (Figure 10 in the document) :
    BEGIN
    wfa_sec.getsession(:P101_USERNAME);
    :P101_PASSWORD :=
    XXAPX_SECURITY_PKG.generate_hash
    (FND_GLOBAL.user_name);
    IF :P101_PASSWORD IS NOT NULL THEN
    APEX_CUSTOM_AUTH.login(
    P_UNAME => :P101_USERNAME,
    P_PASSWORD => :P101_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_APP_PAGE => :APP_ID||':1'
    END IF;
    EXCEPTION WHEN OTHERS THEN NULL;
    END;
    I have done a "GRANT EXECUTE ON apps.WFA_SEC" to my APEX Schema, so the APEX Schema should have access to everything used by the package... I have tried to "GRANT EXECUTE ON" ICX_SESSIONS but I still have the same error...
    Do I need to do other "GRANT" ? Have you experienced the same problem ?
    Thanks for your help !

    Hi !
    Yes, I have already created synonyms but I still got the same errors...the error seems to be related to a table used in the package icx_sec...I have tried to grant and create synonym for tables icx_transactions and icx_sessions but I still got the error. Any ideas ?
    I have also tried to use the method (OWA_COOKIE.send) suggested in the 2007 version of the Rod West's document (the method you mentionned in the thread) and I'm able to get connected to my APEX application using the E-Business Menu but I have an intermittent problem with this method.. In fact, some days I'm able to get connected to APEX at the first try but some days I received "Invalid Login Credentials" at the first try and at the second try I get connected...And we haven't found any reasons yet for the intermittent "Invalid Login Credentials" ?
    Have you experienced the same intermittent problem on your side ?
    Thanks !

  • SQL*Plus report and R11 AOL

    I have a sqlplus report that I want to invoke from the AOL. I registered the executable, defined the program, added the report to a request group. The report takes 2 parameters.
    However I can not get it to work. Has anybody an example on how to register a SQL*plus report in the Oracle Applications R11?
    Dirk

    Geef me een belletje, los ik direkt voor je op.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Dirk van Vreeswijk ([email protected]):
    I have a sqlplus report that I want to invoke from the AOL. I registered the executable, defined the program, added the report to a request group. The report takes 2 parameters.
    However I can not get it to work. Has anybody an example on how to register a SQL*plus report in the Oracle Applications R11?
    Dirk<HR></BLOCKQUOTE>
    null

  • Change over from Apex to Application Express

    When I connect to Oracle 10G XE I use the following URL:
    http://127.0.0.1:8087/apex/f?p=4550:11:73807998927860::NO:::
    Now I have downlaoded Oracle Application Express. How do I use it with my existing data on 10G XE?
    Do I need to have 11g?
    Thanks
    Edited by: user506392 on Sep 15, 2009 2:42 PM

    Perhaps the following will help:
    Oracle has a family of Database products. These are released every few years. The last few releases are
    Oracle 7; Oracle8; Oracle8i Database; Oracle9i Database; Oracle Database 10g; Oracle Database 10g Release 2; Oracle Database 11g; Oracle Database 11g Release 2
    For Oracle Database 10g Release 2, the family consists of a number of Editions which represent groups of features. In the follow list of editions, each successive one to the right includes the features of the one to the left:
    Express Edition; Standard Edition One; Standard Edition; Enterprise Edition; Personal Edition
    SO you can see, Express Edition (known as XE) has the fewest features. Each feature, when released, has a version. Some of these features included with Express Edition are
    - SQL language version 10.2.0.1
    - Oracle Networking 10.2.0.1
    - SQL*Plus 10.2.0.1
    - Oracle XDB 10.2.0.2
    - Application Express 2.2 (known in the community as HTMLDB, ApEx or Apex)
    The Apex feature gives us several capabilities: a web application development tool; an Oracle database access tool; (with XDB) a web application run time engine a bit like a mini Apache server. All of these capabilities (and more) are available using a browser.
    Apex 2.2 was a customized version of Apex designed for Express Edition. It includes several applications that can be used to administer an Oracle database.
    Oracle designed Apex to be easily upgraded. Since "Oracle Database 10g Release 2 Express Edition" (Oracle 10g XE for short) Oracle has provided several new versions, any of which can run in XE. However, the special applications used to manage Oracle DB are not available.
    By looking on the page I previously mentioned, you can get an idea of the new capabilities available in the newest version of Apex - version 3.2. It's up to you to decide whether it's worth losing the DB Admin capabilities in order to get those new Apex developer capabilities.
    In any case, you shoudl have enough background now to at least look at, and start to understand, the Apex tutorial and some of the other info on the Apex page, as well as the XE documentation page at http://www.oracle.com/pls/xe102/homepage

  • Oracle Pl/Sql and Oracle Application Express for Beginners

    Good day,
    Have a prodigy that is strongly interested in oracle application express.Haven know that he will only do we in APEX if he is good in pl/sql and have some skills in html and javascripts.
    For such person,what are the books that i can recommend for him,that will guide and assist him?Will be highly grateful if anybody can assist.

    Sc0tt wrote:
    I think it also falsely gives the impression that one does not need to understand the database at all because Apex can do everything for you...This is why I echo Munky when he says that you need a solid understanding of data models and the database before attempting to build an application.
    I absolutely concur with this view. When I first started using ApEx, I was basically given a user guide and told to get on with it :-) Subsequently, for the first 6 months or so, I built probably fairly lousy (but functional) apps until I got a better grasp of Oracle architecture.
    That being said, SQL is an absolute must if you are going to work on a database. PL/SQL really should be learned as well because your application will be limited without it. CSS and Javascript and nice to have's, but they can be learned as you go. Since all of the api's are built in pl/sql, it would really hinder what you could do if you didn't know it.One resource I have found very useful is the good old 'Ant' book a.k.a. Oracle PL/SQL Programming by Feuerstein, et al. I have a well-thumbed 4th edition sitting on my desk at the moment - weirdly for a text book, rather a joy to read.
    I personally found Jay-Lew's "Cost-based Oracle Fundamentals" a somewhat bitterer pill to swallow - tough on the way down but good for one's constitution!

  • PL/SQL Counter for HTMLDB - Application Express - Survey Counter

    I wonder if somebody could help me to clarify the HowTo on this Survey.
    Based on:
    http://www.oracle.com/technology/products/database/application_express/index.html
    http://www.oracle.com/technology/oramag/oracle/06-mar/o26browser.html
    I follow up however that is not exactly what I like to see in my Survey. I like to make something more elegant and flexible.
    On this example he put 10 questions/ page. I like to use 1 Question / Page.
    And I like to extend to more than 10 pages. for example 20.
    My question to the forums is:
    If I create an application with Only 3 pages [ Welcome, Survey, End ]
    And the main page for the Survey is the second page.
    How would programatically be the logic to:
    Start the Welcome page => Setup variable counter = 1
    Then using sessions with a button click on Start Survey.
    Survey Page check for the existence of counter variable if exist retrieve the Question from the Questions table and the properly Answer will be recorded.
    This answer could include comments, and the Rating could be an LOV.
    After the Question 1 is asnwered then the Next Button on the Page 2 Call the same page 2. If the Questions is the max number of questions [20] then go to the End or Summary Page. if not just increase the counter variable then retrieve the next question.
    Am I asking to much ???. I'm just starting on PL/SQL and HTMLDB I'm not sure how to manipulate those variables. I've been trying but I'm stuck.
    Thanks in Advance for your Help.
    Dino.
    http://htmldb.oracle.com/pls/otn/f?p=42721:1:4875344191023058749:::::
    PS -> As soon as have the answer will post it public in htmldb.oracle.com =)

    Move this over to :
    Oracle Application Express (APEX)

  • How do I create "Oracle Application Express Adminstrator" in APEX 3.2.1?

    Hello,
    Quite the newbie so I appreciate any assistance with this.
    How do create "Oracle Application Express Adminstrator" in APEX 3.2.1? I am not talking about a workspace adminstrator but an Entire APEX instance administrator or "superuser"?
    I log into APEX_ADMIN as ADMIN and understand how to create a new user. But how do I grant the new user DBA or "super user" privlidges? It was easy to do when I first installed XE, I would just "check" the "DBA" when I created the user. But when I upgraded to APEX 3.2.1 the function does not seem to be there?
    Thank you for any help you can provide!

    Hi,
    I think you can not grant DBA role from Apex anymore.
    You need connect to database e.g. with SYS user and grant that role.
    http://www.oracle.com/technology/products/database/application_express/html/3.2_and_xe.html
    Br, Jari

  • Application express installation is failed while running apxdevrm.sql scrip

    Hello Experts,
    i am new to Oracle Application express. My installation is failed while running the script (apxdevrm.sql).
    here is the command i ran as sysdba
    @apexins xxxxx apex apex temp /i/
    installation is exited with the following error :
    REPORT:SYS> prompt Set Application ID...
    Set Application ID...
    REPORT:SYS>
    REPORT:SYS> begin
    2
    3 -- SET APPLICATION ID
    4 wwv_flow.g_flow_id := nvl(wwv_flow_application_install.get_application_id,4411);
    5 wwv_flow_api.g_id_offset := nvl(wwv_flow_application_install.get_offset,0);
    6 null;
    7
    8 end;
    9 /
    REPORT:SYS>
    REPORT:SYS> --application/delete_application
    REPORT:SYS>
    REPORT:SYS> begin
    2
    3 -- Remove Application
    4 wwv_flow_api.remove_flow(nvl(wwv_flow_application_install.get_application_id,4411));
    5
    6 end;
    7 /
    begin
    ERROR at line 1:
    ORA-20001: API operation includes calls that are incompatible with the current runtime.
    ORA-06512: at "APEX_030200.WWV_FLOW_API", line 32
    ORA-06512: at "APEX_030200.WWV_FLOW_API", line 247
    ORA-06512: at line 4
    here is my database version :
    REPORT:SYS> select * from v$version;
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    OS version :
    cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 5.6 (Tikanga)
    any one had this issue in the past?
    your help is greatly appreciated.
    Edited by: 892564 on Oct 20, 2011 4:15 PM

    Hello experts,
    is there any best way to trouble shoot the error which i got?
    Thanks
    !# Pavan

  • Oracle SQL Developer and Application Express

    Hi all,
    I have a SQL Developer 1.5.4.59.40 and have an application developed in Application Express 10G XE with APEX 3.1.2. I have successfully opened my schema which owns an application, but to my surprise there is no node for viewing my application????? How can i view my application?
    With Regards,
    Sunil Bhatia - Programmer
    Eon Technologies Pvt Ltd
    Edited by: Sunil Bhatia on Mar 26, 2009 9:39 AM

    Hello,
    If you go to your parsing scheme in SQL Developer for ex. SCOTT you'll see a node Application Express.
    That should list all the applications that have the SCOTT parsing scheme defined in your APEX application.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/
    REWARDS: Please remember to mark helpful or correct posts on the forum

Maybe you are looking for

  • System Status at WBS level

    Hi friends.          I have an issue in my report, my requirement is I have to fetch all the WBS Elements which are having System status as TECO . But in the selection screen i have given date range. Now i have to fetch all the WBS  having TECO as sy

  • Solution Manager - Service Desk

    I have configured Solution Manager 3.2 for service Desk and have fixed all errors when creating messages except for one message, which I can find no solution to. The message is "Item 10 - The product SUPPORT does not exist in the system" the error me

  • How to Start Oracle weblogic in UNIX

    hi, I was reading a document in which they explain we can create windows service for Oracle weblogic and after that we can start/stop that service. but in unix environment i have to keep open command shells to start weblogic. Is there any option to r

  • How to solve the middle dark line when I use officejet all in one the copy function?

    The printer function is good, but only has problem in copy functioln.  How to clear the middle dark line? This question was solved. View Solution.

  • Nokia 5610 problem with update

    My son tried to update the software on his 5610 when a power failure due to storm turned the PC off.  The phone is not working since. When you press the button to turn it on the screen seems to light up and stays lit and then nothing. You turn it off