Update procedure from APEX 3.1 to 3.1.2 on Oracle XE database

Hello,
how to make an update of APEX 3.1 to 3.1.2 on an Oracle XE database with the full installation pack (which you get normally at OTN)? I mean the patchset 7313609 from Metalink wont work on a XE database because it doesn't have the opatch feature integrated.
Can it be the normal update procedure which I would have to use for it:
@apexins password SYSAUX SYSAUX TEMP /i/
Thanks ahead,
Tobias

Tobias,
The 3.1.2 patch doesn't use opatch since it's not patching the Oracle binaries etc, it is simply a SQL script that you run that updates the PLSQL packages, code, etc inside the database (plus the new images, javascript etc).
As such, there's no reason the patch couldn't be run on XE (assuming you are entitled to download the patch etc).
John.
http://jes.blogs.shellprompt.net
http://www.apex-evangelists.com

Similar Messages

  • Calling stored procedure from Apex

    I am a total newbie at Apex so any help would be appreciated. My situation:
    I created Apex app with few forms and reports. Since I want to implement security for some tables, example:
    Table Employee has columns email and credit_card_num. These 2 columns are encrypted using DBMS_CRYPTO.
    My Oracle Database version in Oracle XE 11g Release 2.
    So I have stored procedure and package for encryption and decryption using dbms_crypto.
    When I add new employee in APEX form email and credit card number are passed as plain text and saved on that way in database.
    1. How can I make it to be saved as encrypted value using package and procedures I've created in the database (to parse the inserted value to function)?
    2. Since I am a total dummy and newbie at Apex can anyone explain me how does Apex really work? Is the inserted data sent in plain text or encrypted over network?
    Thank you

    84e45717-06df-499e-a789-5312b7434a74 wrote:
    1. How can I make it to be saved as encrypted value using package and procedures I've created in the database (to parse the inserted value to function)?
    You have a few options.  You can create a Process (after submit process) that calls your code.
    For example, if your form is on Page 2 and you're saving the EMP table your process could look like this:
    begin
      app_util.emp_save_secure(p_EMPNO => :P2_EMPNO
    , p_ename => :P2_ENAME
    , p_deptno => :P2_DEPTNO);
    end;
    Here of course app_util is your own package (with any name you want) and emp_save_secure is the procedure that will receive the params to save.
    You could also use the APEX wizard to create a form on the Procedure then edit the code as you need. It would be almost the same result, but probably less typing and less typos.
    2. Since I am a total dummy and newbie at Apex can anyone explain me how does Apex really work? Is the inserted data sent in plain text or encrypted over network?
    Thank you
    Like any web page, if your connection is done with HTTPS then the data from the browser to the webserver will be encrypted and that's all completely transparent to you.  If your call is HTTP then it will be done in clear text.
    To setup an SSL connection that uses HTTPS you'll need to create a certificate on the server and configure HTTPS. This is better done by a DBA that knows what they are doing. 
    Thanks
    -Jorge
    http://rimblas.com/blog/

  • Calling Stored Procedure from APEX window

    Hopefully someone will be able to help me. I have a stored procedure that generates a csv of time worked from our system. When I hard code the values in the procedure and call it from a button, the popup window opens excel and displays the time worked.
    When I call it with session variables, the window opens, but no values are listed for time worked.
    This is the first line of the proc.
    create or replace procedure "PRC_EXP_HOURS_TO_CSV"
    (p_name IN VARCHAR2,
    p_wk_end_dt IN DATE).....
    This is how the button calls the proc
    javascript:popupURL('#OWNER#.prc_exp_hours_to_csv?p_name=&P20513_NAME.,&p_wk_end_dt=&P20513_ACTIVITY_DATE.');
    Both P20513_NAME and P20513_ACTIVITY_DATE show a session status of 'I' so I am not sure what is going wrong here. As stated if I hard code values in the proc for name and '06-APR-08' for date the proc runs.
    Kevin

    Kevin
    Is it possible that :P20513_NAME value has "special" characters (space, comma, etc)?
    If it has then you have to "escape" it or you can get values with V functions in your stored procedure:
    <pre>
    declare
    l_name varchar2(4000);
    l_date date;
    begin
    l_name := v('P20513_NAME');
    l_date := v('P20513_ACTIVITY_DATE');
    </pre>
    Lev

  • How to run a SQL server store procedure from Apex (oracle)?

    Our application needs to call a store procedure in the SQLserver database. The sotre procedure works fine in the SQL server side. However, when I tried to call the store procedure in TOAD as:
    exec my_store_procedure(para1, para2);
    I kept getting the error message:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'my_store_procedure'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    I have searched online but couldn't find the solution. This is an emergency, so prompt reply is Highly Appreciated!
    Luc

    How is Oracle connecting to the SQL Server?
    With the Transparent Gateway or Generic Connectivity?
    I don't think that Generic Connectivity supports stored procedures.
    The documentation for Heterogeneous Connectivity is here:
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14232/toc.htm
    You'd probably get better answers from the Heterogeneous Connectivity forum:
    Heterogeneous Connectivity

  • How can I avoid browser timeout when starting a Plsql procedure from Apex?

    I start a procedure when pressing a button in my Application Express form.
    This procedure take a while to run (about 10 min.)
    How can I avoid the browser to timeout with Error Code 1460: Timeout ?
    Is it possible to return to a page and let the procedure finish in the background. Or is it possible to get the Apex application sendig a message once in a while to keep the browser active?
    Thanks in advance.
    Evelyn

    In HTML DB 1.6, you could create page processes that would run as background jobs.
    Since 2.0, you can't directly select that option, but there's a work-around that may still work:
    Re: PLSQL DBMS JOB - Process Type

  • Callin Portal APIs from Apex

    I am trying to call the portal.wwsec_api from within an apex application. The application is parsed using the portal schema so has all the correct grants by default.
    The code I am using is:
    declare
    l_person_rec wwsec_person%rowtype;
    begin
    l_person_rec := wwsec_api.person_info
    p_user_name => 'PORTAL'
    :P3_USER_INFO:=l_person_rec.user_name || l_person_rec.first_name;
    exception
    when others then
    :p3_user_info:=sqlerrm;
    end;
    This code (minus the item references) runs fine in sqlplus, but errors when I run it in apex. I have narrowed it down to the api that is erroring as I can access the table direct.
    Can anyone help with this?
    Thanks

    More info for anybody looking at this.
    I have tried prefixing the api with portal, that didn't work. The code handles the exception and gives me the amazingly helpful 'User-Defined Exception' error message. I also tried creating my own procedure within the portal schema that calls the api, this executes when run from sqlplus, but again not from apex. If I replace the api calls in the procedure with simple select stuff and then call the procedure from apex it works fine.
    So my code in the procedure on the database (in portal schema) looks like this
    create or replace procedure get_user_info(pa_user_name wwsec_person.user_name%type,
    op_first_name out wwsec_person.first_name%type) IS
    l_person_rec wwsec_person%rowtype;
    --l_test varchar2(256);
    begin
    l_person_rec := wwsec_api.person_info ( p_user_name => pa_user_name );
    /*select user_name into l_test
    from wwsec_person
    where user_name = pa_user_name;*/
    op_first_name:=l_person_rec.first_name;
    exception
    when others then
    raise;
    end;
    show errors
    I have granted execute on this procedure to apex_public_user
    My code in apex that calls this procedure looks like this
    declare
    l_first varchar2(256);
    begin
    get_user_info('HANNAH', l_first);
    :P3_USER_INFO:= l_first;
    exception
    when others then
    :P3_USER_INFO:=sqlerrm;
    end;
    I am running out of ideas now, so any help would be appeciated.
    This is the output from sqlplus when I run the code as apex_public_user
    variable apextest varchar2(256)
    execute portal.get_user_info('HANNAH', :apextest);BEGIN portal.get_user_info('HANNAH', :apextest); END;
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL.WWCTX_SSO", line 1803
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL.WWCTX_SSO", line 1637
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "PORTAL.WWCTX_SSO", line 1922
    ORA-06512: at "PORTAL.WWCTX_API", line 279
    ORA-06512: at "PORTAL.WWERR_API_ERROR", line 99
    ORA-06512: at "PORTAL.WWERR_API_ERROR", line 222
    ORA-06512: at "PORTAL.WWSEC_API_PRIVATE", line 5550
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL.WWCTX_SSO", line 1803
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL.WWCTX_SSO", line 1637
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "PORTAL.GET_USER_INFO", line 19
    ORA-06512: at line 1
    spool offThanks

  • Run procedure from SQL Workshop Command window?

    hi, this one is simple.
    how to run a created procedure from APEX SQL Workshop SQL Command window?
    simon

    Simon,
    begin [proc_name]; end;
    -Carsten

  • How to call a default procedure from event handling...

    Hello All,
    I am new to Oracle Application Server Portal. I have created a form and I want to update the table using custom update button. can any body tell me how to call the default doUpdate procedure from event handling..

    This should help:
    - http://download.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_portletbuilder.htm#BABFIHIF
    Cheers,
    Mick.

  • Updated n97 from v20.0.019 to v20.0.27

    Hi
    I would like to know the difference in both the firmwares .
    Secondly my incoming calling call vibration and touch screen vibration has stopped working ...
    So please someone help me and tell me how to rectify this ...
    Akash

    Hi,I was having problems with my N97. Vibration was not working and the GPS never connected to any satalite after updating Nokia Maps. So I got a back up of my data and updated the phone. However the phone does not even start. Only the NOKIA screen with back light appears and it stucks. The same thing happens when I plug in the charger and the led next to the usb (indicating charging) does not light. Throughout Nokia troubleshooting pages I found a topic with that title 'If your phone is not working after a successful update' and under it it is said that 'Return to the beginning of all the steps and start the update procedure from the beginning' but the PC does not see the phone and so Nokia Software Updater does not also. Thus I could not repeate updateting.
    The phone is not with me right now. When I get it I will try hard resting but I am not hoping a result. I paid lots of money on this thing and now I am sad and really geting nervous.
    Do you have problems with vibration? I read in discussions that some people had their phone's mainboard replaced with a new one at Care Centers to get rid of this problem. This feels really bad that a new device requires a new main board. Really sad for Nokia I think.

  • Can I use Oracle Report Server to print from APEX? How?

    Hello, we have Oracle Application server, Oracle Report server and now we just installed APEX and doing a pilot project. Since we don't have BI Publisher, how can we use our Oracle Report server to print from apex report? Can it be done and if yes where can I get some detail info that I can share with our DBA?
    I have in past asked questions about the printing issues but I have been refered to http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html#01 section 5 which talks about another installation.
    Thanks so very much for any info.
    -iahmadi

    You can use FOP, but the formatting of the xsl (Xml Style Sheets) takes a little work. If you have the Oracle Reports server up and access to the development product, why not go that route?
    You want the filtering and sorting and searching, yes, but then you also want to print them out.. Then you would probably be best looking at replacing the Oracle Reports setup with BI Publisher. You can convert Most your reports over to bi publisher layouts easily.. (I have heard of some reports that do require recreating in Bi Publisher from Oracle Reports..)
    Then you can have your Apex Reports and call Bi Publisher from APEX and everyone wins..
    Is your Oracle Reports stuff used by non-APEX applications, that could be modified to use Bi Publisher?
    Thank you,
    Tony Miller
    Webster, TX

  • Execute Oracle Stored Procedure from Excel

    Is it possible to execute an Oracle Stored Procedure from Microsoft Excel and return the result of the Oracle Store Procedure into the excel spreadsheet.

    Yes. You can use Oracle Objects for OLE to accomplish this. It comes with Excel examples and an online help file with many more examples.

  • Calling invalid stored procedure from java

    Will the stored procedure which is invalid get re-compiled automatically when called from a java program?
    1.a stored procedure is invalid (oracle 9i)
    2.calling the stored procedure from a java program
    3.what will happen a.oracle recompiles the stored procedure
    b.returns an sql exception
    what happens,kindly help
    drop your mail to [email protected]
    Keep Smiling and Mailing,
    Vijay Anand Natesan.

    thank you ..Kindly let me know if any of your friends have tried this

  • Migrating Stored Procedure from Informix

    I am seeking tool to migrate stored procedure from Infromix 11.5(installed at one customer) into Oracle.
    I find that Oracle Migration Workbench can only support migration from Informix version lower than 9.4.
    Any ideal about migration stored procedures from Infromix 11.5 into Oracle?
    Any help is highly appreciated!
    tom

    Mike,
    Wrong forum, for this question, suggest you ask it in the PL/SQL forum.
    Jim Stern

  • How to connect from Oracle 9i database on windows to sap database (orcle 8)

    Hi,
    I really need expert advice from anyone..I wud like to connect my Oracle 9i database running on windows platforms to SAP database (oracle 8) running on Unix platform.
    Is there any special code to establish the connectivity...or we can simply use the ORacle net services(tnsnames.ora) file to connect to the SAP database??
    I wud really appreciate any expert comments on this.
    Thank you
    Ratheesh

    Hi Ratheesh
    If you are able to create an ODBC connection from the Windows Oracle server to the SAP database then you can use Oracle Heterogeneous Services to query the SAP database from Oracle through a DB link. To configure Heterogeneous Services is quite easy. You put an entry into the SID_LIST_LISTENER part of the listener.ora file:
    (sid_desc=
          (sid_name=hsql)                    
          (oracle_home=C:\oracle\ora92)
          (program=hsodbc)                    
        )  Then create an entry in your tnsnames.ora file to connect to your new listener service:
    apmacnew =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = tcp)(HOST = cntrra20-lab20)(PORT = 1527))
        (CONNECT_DATA =
          (Service_name = apmacnew)
        (HS = ok)
      )And lastly create a database link using the tnsnames entry.

  • Error when calling a procedure from my apex application

    Hello.
    I want to create a small APEX application that can configure asynchronous change data capture (distributed hotlog) on certain tables.
    Basically, what the application should do is to simply create change tables. Everything else is set up as prerequisite.
    My problem is that when I run the following script from schema apex_cdd (using sqldeveloper) , it works; but if I run it from my apex application by calling it when pressing a button as a pl/sql process, it doen't work.
    BEGIN
    apex_cdc.enable_table_capture
         (     i_owner => 'staging_cdcpub',
              i_change_table_name     => 'g_changeTable',
              i_change_set_name     => 'Source_changeSet',
              i_change_source          => 'orcl01_cs',
              i_source_schema          => 'My_src',
              i_source_table          => 'G',
              i_column_type_list     => 'STARTDATE DATE,STATUS CHAR(1),NAME VARCHAR2(10),ENDDATE DATE,DESCRIPTION VARCHAR2(255),ID NUMBER(8,0),VALUE NUMBER(10,2)'
    END;
    If I look in the trace file, i see that the error is:
    CDCdebug:in ChangeTable.java enableDisabledTriggers: ORA-06550: line 1, column 8:
    PLS-00201: identifier 'SYS.DBMS_CDC_SYS_IPUBLISH' must be declared
    ORA-06550: line 1, column 8:
    PL/SQL: Statement ignored
    oracle.jdbc.driver.OracleSQLException: ORA-06550: line 1, column 8:
    PLS-00201: identifier 'SYS.DBMS_CDC_SYS_IPUBLISH' must be declared
    ORA-06550: line 1, column 8:
    PL/SQL: Statement ignored
    Other remarks:
    - My procedure calls: sys.DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE.
    - I gave the same rights that I gave for apex_cdc schema to flows_030200 and APEX_PUBLIC_USER schemas (just to see if it works), but it doens't.
    Is APEX calling the procedure from another schema ?
    Does anyone has an idea why this procedure crashes if called from APEX application, but works ok if called from the same schema APEX application runs on, but using SQLDeveloper ?
    Any thoughts are appreciated.
    Radian

    The procedure apex_cdc.enable_table_capture i created myself with no authid mentioned explicitly, so it uses definer rights, by default.
    BUt this procedure is simply a wrapper for sys.dbms_cdc_publish.create_change_table.
    When I look on the security model for this sys.dbms_cdc_publish, i see it runs under invoker rights. (http://www.psoug.org/reference/dbms_cdc_publish.html).
    The code is like this:
    CREATE OR REPLACE PROCEDURE enable_table_capture
              i_owner               IN VARCHAR2,
              i_change_table_name     IN VARCHAR2,
              i_change_set_name     IN VARCHAR2,
              i_change_source          IN VARCHAR2,
              i_source_schema          IN VARCHAR2,
              i_source_table          IN VARCHAR2,
              i_column_type_list     IN VARCHAR2
         IS
         BEGIN
              EXECUTE IMMEDIATE 'alter session set REMOTE_DEPENDENCIES_MODE=SIGNATURE';
              EXECUTE IMMEDIATE 'begin add_log@orcl01(i_tableName => ''G''); end;';
    sys.DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE(
    owner => i_owner,
    change_table_name => i_change_table_name,
    change_set_name => i_change_set_name,
    source_schema => i_source_schema,
    source_table => i_source_table,
    column_type_list => i_column_type_list,
    capture_values => 'both',
    rs_id => 'y',
    row_id => 'n',
    user_id => 'n',
    timestamp => 'y',
    object_id => 'n',
    source_colmap => 'n',
    target_colmap => 'y',
    options_string => NULL);
    END enable_table_capture;

Maybe you are looking for

  • BIDSExtensionsSetup.dll error while installing CRM 2013 authoring

    Been having this trouble for a month, and have found no solution on MSDN. I have SQL Data Tools 2010 installed. Cannot proceed instalation after getting this error: Setup cannot continue because C:\Users\[My User]\AppData\Local\Temp\MSCRM_{GUID}\BIDS

  • Xml parsing exception

    Hi, I am having xml content as a string like below <?xml version="1.0" encoding="UTF-8"?> <TransactionResponse> <InterchangeControlHeader> <AuthorInfoQualifier>00</AuthorInfoQualifier> <AuthorInformation> </AuthorInformation> </InterchangeControlHead

  • How to find workcenter and production order change log

    Hi, I am new to PP function. Due to problem tracking, I want to know where to find the change logs for 1.Work Center 2.Production Order Many thanks! Steven

  • DrawString() image does not work

    I have a class, Point, that draws images when I point on the screen. But the string never appears. The circle do appear, but not the string. I don�t know what I am doing wrong. class Point extends JComponent      String name;      int x, y;      publ

  • Unknown error 4251 on windows 8

    this error comes up when burning discs from itunes playlist can anyone help?