How do I restore procedure PL/SQL without rolling back content of medium level

Hi all

I called a PL/SQL, conditions procedure I want to roll back the changes made by PL/SQL procedure without touching the changes made at the level of the OS, is this possible? If so how.

Please help it is urgent.


Thanks and greetings
MS

Hello

Thank you to use getTransaction () .executeCommand ("rollback") of your AM, it will solve your problem.

If you want clarification on this please consult the JDev guide Chapter 5, implementing features server-side > Rollback methods.

Kind regards
Out Sharma

Tags: Oracle Applications

Similar Questions

  • How do I restore my Apple TV without cable USB - C?

    When I start my Apple TV, it shows only one link on my TV screen: support.apple.com/appletv/restore. I went on this website and it explains how to restore an Apple TV using a USB - C cable connected to a computer. But I did not... Is there another way to restore my Apple TV to make it functional again?

    If your device is working correctly, you would be able to restore it using one of the options in the settings menu (restore your Apple TV to its factory - Apple Support settings) but it is the screen, which will leave no navigate you the menus at all, then you will need to restore through iTunes. A USB A-C cable is not that expensive. Otherwise, you may make an appointment at an Apple Store Genius Bar or with an Apple Certified Support Provider and have them reset it for you. See restore your Apple TV via iTunes - Apple Support.

    TT2

  • How do I restore the factory settings without recovery disks

    I'm trying to restore my laptop to its factory settings but I don't have the cd to do it with.
    I have bin told I can do using bios by pressing f8 at the boot screen.

    I did it and taken to system restore settings, but I can't find any option to reset to the factory settings.
    The options I see won't let me restore to factory settings.

    Can anyone help?

    Hello

    When you start your notebook F8 repeatedly press. You enter the Advanced startup options. If you n t change anything on preinstalled HDD (delete the second partition, change the structure or installed other OS partitions), you will see option to fix my computer.

    When you start this option, you enter The System Recovery Options. Last option, there are Toshiba Recovery option.

    When you choose this procedure of recovery option should start and you should just follow the menu on the screen.
    All that s!

  • How to run a procedure of SQL commands

    I tried in many ways, for example:

    RUN POPULATE_HIERARCHY (121121);

    but I get the error: ORA-00900: invalid SQL statement.
    BEGIN
      POPULATE_HIERARCHY(121121);
    END;
    
  • How can I restore my PC HP Pavilion Entertainenment back to factory settings

    I opened my computer and had a new display ever seen before and then all my documents, photos, books, etc. IncrediMail program at not here.

    have checked for viruses (even if I have anti-virus protection) found none and thought I'd start all over shave.  any suggestions?

    Hello

    See if it helps you so that you do not lose your docs, etc.

    Do a system restore to before the problem:

    http://Windows.Microsoft.com/en-us/Windows7/products/features/system-restore

    _____________________________________

    If you want to start with a 'clean slate' again you press F11 at startup to start the process of recovery HP back to factory settings.

    http://h10025.www1.HP.com/ewfrf/wc/document?DocName=c01867418&cc=us&destPage=document&LC=en&tmp_docname=c01867418

    See you soon.

  • How to copy the folder/directory structure without copying the content?

    I need to copy a LOT of files, but I want all the files come with them, just the names and structure of records.  I'm not the most technologically savvy so I don't even know where to start, or what program to use, so what codes use after that.

    Any help would be greatly appreciated as I need to achieve this as soon as possible.

    Thank you!

    I think this fits better to the OSX technologies section. I asked to be moved. You need to a bash or Applescript script.

  • How to have a batch file executed without the BACK popup on the screen?

    original title: running tape recorder in a minimized batch file or out of sight?

    Hi, I'm wanting to play a sound every 30 minutes.

    I wrote a batch file for use of Windows sound recorder to play the sound, and then close.  I will use the Task Scheduler to run and the calendar.  The sound seems to play fine, but every time it works I see a popup box BACK and then heard play recorder app.  These two things quickly disappear automatically, but ideally, I want the sound to play and can't see the window BACK or recorder popup of sounds on the screen.  Is there a way to minimize or hide these things automatically?  As it is run in the background, but still play the sound?  My batch file is below:

    Sndrec32.exe "C:\WINDOWS\Media\chimes.wav" /PLAY / CLOSE

    This could help you.
    http://zoombody.com/articles/run-a-batch-script-minimized

  • How to write the SQL without using dynamic SQL?

    How can you write this under SQL without using execute immediately?

    You can use static SQL (using something like a CASE statement)?

    test procedure (one in varchar2, b number, each number) is

    v_num_recs pls_integer;

    Start

    Select count (*)

    in v_num

    FROM table1

    where

    col1 = one and

    If b is not null then col2 = b

    If c is not null then col3 = c;

    / * i.e. If b is not null, where condition to add this line only. If c is not null, where condition should add only this line. OR condition No. it * /.

    dbms_output.put_line (v_num);

    end;

    Or should I use dynamic SQL statements for this?

    I was wondering if the two are NOT NULL? Well check this.

    Select count (*) in v_num

    table

    where col1 = one

    and col2 = (CASE WHEN (b is not null) THEN b ELSE END col2)

    and col3 = (CASE WHEN (c is not null) THEN ELSE END col3 c)

  • == CORRECTION of == how restore a registry saved without replacing the current One files

    ========================
    ==========FIXED==========

    ========================

    How can I restore A saved Registery without replacing the current One files

    --------------------------------------------------------------------------------------------

    Hi I have recently Updraged to Windows 8 then ERROR HIT and reinstalled 15 times

    And then downgraded back to Windows 7 I took all my files off .old, and then I

    need of my registry because all my games that I forgot the key to most of them his wondering just im

    because I just inport the right .reg to the registry, then it says cant traore explorer.exe and then restart I get

    0xc0000004F and theni reinstalling agen, agen, agen

    ================

    | what im saying here is. |

    ================

    can I insert a registery .reg without replacing the existing files to avoid fatel errors / crashes

    and I have manny stuff just to reinstall

    Hello

    1. where exactly did you go to the back-up and you try to restore?

    2. you try to restore the backup after re-installation of the operating system?

    This operation is not valid; When you reinstall the operating system, you will not be able to restore the registry backed up to the old operating system. And you can not do this without replacing the existing files.

    Import the registry can only undo changes that you have made.

    For more information, see the article:

    Back up the registry

    http://Windows.Microsoft.com/en-in/Windows7/back-up-the-registry

    Hope this information helps.

  • Can restore my computer-how I restore my computer (Windows Vista Premium) back in the day, it was brand new?

    How can I restore my computer (Windows Vista Premium) back in the day, it was brand new?  I want to clean the top/everything, yes everything!    Help! PLEASE

    Hello

    Here are the different ways to reinstall Vista

    Contact the computer manufacturer and ask them to send you to vista recovery disks to reinstall the operating system back as it was when you bought it

    they do it for a nominal cost of $

    also ask them if you have a recovery partition on your hard drive to get back to the way you bought

    you would normally press F8, F9, F10 or F11 or Alt + F10 or 0 to start to start the recovery process according to the manufacturer

    Ask them of the exact key sequence

    or borrow a vista microsoft dvd; not a HP, Acer recovery disk etc

    Make sure that you borrow the correct 32-bit or 64-bit microsoft dvd to your computer

    they contain all versions of vista

    This is the product key that determines which version of vista is installed

    http://www.theeldergeek.com/Vista/vista_clean_installation.html

    How to replace Microsoft software or hardware, order service packs and replace product manuals

    http://support.Microsoft.com/kb/326246

  • How can I turn on my iPod without restoring?

    My iPod touch 5 worked very well that it stops completely and the apple logo came. The logo has been there for about 3 minutes, then the screen went black. If I try to turn it on the apple logo appears again for 3 minutes about that disappears again. How can I turn on my iPod without restoring?

    I don't think that there is a way on other than to restore ipod.

    you might as well restore it

  • Hello, I would like to know how I can restore my ipod without turning off find my iphone

    Hello, I would like to know how I can restore my ipod without turning off find my iphone, thanks.

    You can not

  • How can I restore Dell inspiron how I bought it without a disc of windows 7

    I want my laptop to another owner and I need to do it is all new and shiney, how do I restore to factory settings (window 7) without disc... I want to back to how I got it

    Hello

    Check their documentation online with Dell Support, and ask in the Dell forums.

    You should be able to return it back to out of the box which will remove all programs and State data.
    If there is no problem doing that Dell can sell you the installation of Windows Media cheap since you
    Already own Windows.

    Dell support
    http://support.Dell.com/

    Dell support drivers - product manual & warranty Info (left side) - and much more
    http://support.Dell.com/support/index.aspx?c=us&l=en&s=DHS

    Dell forums
    http://en.community.Dell.com/forums/
    I hope this helps.

  • How can I restore without a button to start, or accessories

    How can I restore without a button to start, or accessories

    Press the Windows Logo key and the 'R' key at the same time.  Type this line in the open: box, and then press ENTER to run the system restore:

    %SystemRoot%\System32\restore\rstrui.exe

    Boulder computer Maven
    Most Microsoft Valuable Professional

  • How to use my bellows PL/SQL PROCEDURE to export data to a directory with a button in the ADF?

    Mr President.

    Any body give me advice step by step that how can I use my pl/sql below procedure to take the small schema oracle backup with a touch of the adf.

    DECLARE  
       h1   NUMBER;  
       dt   VARCHAR2 (20);  
       myschema VARCHAR2(32):='SCOTT';  
    BEGIN  
       SELECT TO_CHAR (SYSDATE, 'YYYYMMDD')  
         INTO dt  
         FROM DUAL;  
      
      
       h1 :=  
          DBMS_DATAPUMP.OPEN (operation      => 'EXPORT',  
                              job_mode       => 'SCHEMA',  
                              job_name       => myschema||'_EXP_' || dt,  
                              VERSION        => 'COMPATIBLE'  
                             );  
       DBMS_DATAPUMP.set_parallel (handle => h1, DEGREE => 1);  
       DBMS_DATAPUMP.add_file (handle         => h1,  
                               filename       => myschema||'_EXP.LOG',  
                               DIRECTORY      => 'ADMIN_DIR',  
                               filetype       => 3  
                              );  
       DBMS_DATAPUMP.set_parameter (handle      => h1,  
                                    NAME        => 'KEEP_MASTER',  
                                    VALUE       => 0  
                                   );  
       DBMS_DATAPUMP.metadata_filter (handle      => h1,  
                                      NAME        => myschema||'_EXPR',  
                                      VALUE       => 'IN('''||myschema||''')'  
                                     );  
       DBMS_DATAPUMP.add_file (handle         => h1,  
                               filename       => myschema||'_EXP_' || dt || '.DMP',  
                               DIRECTORY      => 'DATA_PUMP_DIR',  
                               filetype       => 1  
                              );  
       DBMS_DATAPUMP.set_parameter (handle      => h1,  
                                    NAME        => 'INCLUDE_METADATA',  
                                    VALUE       => 1  
                                   );  
       DBMS_DATAPUMP.set_parameter (handle      => h1,  
                                    NAME        => 'DATA_ACCESS_METHOD',  
                                    VALUE       => 'AUTOMATIC'  
                                   );  
       DBMS_DATAPUMP.set_parameter (handle      => h1,  
                                    NAME        => 'ESTIMATE',  
                                    VALUE       => 'BLOCKS'  
                                   );  
       DBMS_DATAPUMP.start_job (handle => h1, skip_current => 0, abort_step => 0);  
       DBMS_DATAPUMP.detach (handle => h1);  
    END;  
    /  
    
    
    

    Concerning

    Hello world!

    It's the simple code to call an appModule procedure

        public void callStoreprocedureWithoutInput() {
                String stmt = "BEGIN\n" +
                "  \"dbBackup\"();\n" +
                "--rollback; \n" +
                "END;";
                PreparedStatement st = null;
                try {
                    st = getDBTransaction().createPreparedStatement(stmt, 0);
                    st.executeUpdate();
                    st.close();
    
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
    

    Concerning

Maybe you are looking for