How the Auto Commit works in APEX

Hi,
I have a PL\SQL Process which consist of suppose insert / update / delete statements.
insert into emp ()
values ()
update emp
set
delete from emp
where empno = Just want to know..when apex do the Auto Commit..I mean after each DML operation.
Thanks,
Deepak

Thanks..Varad for the response.
one more clarification.
suppose I have a PL\Process and I am having the following DML in sequence, DML is for the same table EMP
insert into emp (empno) values (1234)
delete from emp where empno != 1234First I am inserting into EMP and based on that insert, I am doing some delete from the same table EMP.
so when I come to delete part, the data '1234' into EMP table must be commited, so want to know if I have to issue a COMMIT after the insert statement.
Thanks,
Deepak

Similar Messages

  • Need to know how the AUTO BCC feature works on T-Mobile USA

    HI,
    am hoping to get an explanation on how the Auto BCC on T-Mobile USA works in the background. I have an 8900 that is setup on exchange using T-Mobile account settings and uses the Outlook Web access email.
    When emails are sent from the device, a copy gets sent to the sent items which is fine.  I would like to know that if I use the auto BCC within T-Mobile if those email are being sent from exchange or the Blackberry servers in Canada?  Also will the emails that are forwarded be sent to the sent item of the exchange server?
    thank you in advance

    Hi teckystuff,
    Is your email is integrated in your BlackBerry Internet Service account as an OWA account?  If so, when you are sending from your BlackBerry you are still sending from your exchange account. Your device is using the BlackBerry Internet Service to communicate with your exchange account so the BCC sent from your device email integration is still being sent from your exchange email account whether on the device or from Outlook or OWA. Any email you send or forward from your device should be posted to your sent items folder on exchange.
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Does anyone know how the cutout filter works and is there a way of achieving the same effect without using filters to get more control over final look?

    does anyone know how the cutout filter works and is there a way of achieving the same effect without using filters to get more control over final look?

    Several ways to get similar results.  Image > Adjustments > Posturize with low values similar to what you'd use n Cutout.  This is the most flexible way I can think of as you keep the image in RGB mode with layers intact.  A more radical approach would be to reduce bit depth using Indexed Colour.  You'll need to experiment with settings, try changing Forced to Primaries, and Matte to Foreground Color.  There's no going back from this route, although you can change the mode back to RGB to re-enable layers, adjustment layers etc.
    A nice thing about the Filter gallery filters is that you can change the layer to a Smart object with all the control that gives you.
    Now if only this forum could filter out bizarre content.

  • Is there a good "Sticky note app that ACTUALLY put a Sticky Note on my iPad ( over my existing wallpaper images) on either the Home or Lock screens like how the Stickies app works on a Mac?

    I have an iPad 3.
    I tried two, One was a worthless piece of junk I wasted $2.99 on and the other is pretty good ($1.99) except is does not do a function I would like to use as advertised ( which is to create a sticking note that works like an app by creating an icon sized version of the original created sticky note, then  clicking on an app icon size version of the originally created sticky note that you can tap on like an app and a large sticky note is supposed to appear. This does NOT work with an iPad.
    Does anyone use a Stickies app for IOS that works exactly like how the Stickies app works on a Mac?
    What good is a Stickies note app on iOS when it cannot put actual virtual stickies notes over the main IOS screens and wallpapers and remain there until they are no longer needed?
    Does any one use a good stickies app on iPad? NOT iPhone or iPod Touch.

    It really cannot be done in iOS due to the sandboxed security model of the operating system. No app can modify the "desktop" like that - they can only display their own "virtual" desktop when actually actively in use.  so any stickie note app is the same as any simple note app - it must be open and active to display content. It cannot modify any screen but it's own when active.

  • How the PS Capex works in SAP R/3 Finance

    Hi All,
    how the secondary cost element is used in SAP for PS capex settlement ..
    how the PS Capex works in SAP R/3 Finance
    when the secondary cost elements starting with 9 and PS will accoounted in PS Capex Settlement
    will the sencondary cost element be zero with regarding to PS Capex settlement postings.
    Thanks & Regards
    Nandha

    for ECCN numbers we did a LSMW or you can do  a BDC program

  • How the cache.invoke() works?

    Hi, I am trying to play with the coherence 3.4.2 to find out how the cache.invoke() works. I modified the SimpleCacheExplorer.java coming as the example code as following:
    1) I defined a distributed cache as following:
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <caching-scheme-mapping>
    <!--
    Caches with any name will be created as default replicated.
    -->
    <cache-mapping>
    <cache-name>*</cache-name>
    <scheme-name>default-dist</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <!--
    Default Replicated caching scheme.
    -->
    <distributed-scheme>
    <scheme-name>default-dist</scheme-name>
    <service-name>DistributedCache</service-name>
    <backing-map-scheme>
    <class-scheme>
    <scheme-ref>default-backing-map</scheme-ref>
    </class-scheme>
    </backing-map-scheme>
    </distributed-scheme>
    <!--
    Default backing map scheme definition used by all
    The caches that do not require any eviction policies
    -->
    <class-scheme>
    <scheme-name>default-backing-map</scheme-name>
    <class-name>com.tangosol.util.SafeHashMap</class-name>
    </class-scheme>
    </caching-schemes>
    </cache-config>
    2) I modified the SimpleCacheExplorer.java as following:
    class MyProcessor extends com.tangosol.util.processor.AbstractProcessor
    private static final long serialVersionURD = 8004040647128795431L;
    private String cacheName = null;
    public MyProcessor(String cacheName)
    this.cacheName = cacheName;
    public Object process(Entry entry)
    NamedCache cache = CacheFactory.getCache(cacheName);
    cache.clear();
    return null;
    public class SimpleCacheExplorer {
    * Entry point.
    * @param asArg command line arguments
    public static void main(String[] asArg)
    throws Exception
              NamedCache cache = CacheFactory.getCache("Test");
              cache.put("1", "one");
         cache.invoke("1", new MyProcessor("Test"));
         System.out.println("cache size = " + cache.size());
    3) Then I got the following exception:
    com.tangosol.util.AssertionException: poll() is a blocking call and cannot be called on the Service thread
    Is there a way I can do the cache clear in the invocation way?
    Thanks

    The EntryProcessors operate against a particular Entry and usually executes on the node where the entry is stored. What you can do is to remove the particular entry this entryprocessor is aimed at by calling entry.remove()
    Here is a modified entry processor that removes an entry.
    class MyProcessor extends com.tangosol.util.processor.AbstractProcessor
      private static final long serialVersionURD = 8004040647128795431L;
      public MyProcessor() {}
      public Object process(Entry entry)
        if (entry.isPresent())
           entry.remove(false);
      return null;
    }Getting a hold of the CacheFactory while executing an EntryProcessor is a re-entrant call in to the DistributedCacheService which is rendering the exception.
    More on re-entrancy restrictions and recommendations in this whitepaper: [Coherence Planning: From Proof of Concept to Production|http://www.oracle.com/technology/products/coherence/pdf/Oracle_Coherence_Planning_WP.pdf]

  • Relation between Pricing procedure &Tax Proc , how the whole procedure work

    Hi Gurus,
    I need want to know in detail , How a pricing Procedure is linked to the FI Tax procedure and how the whole mechanism work .
    Pls clarify and explain me the whole process , As i have seen that the Tax condition type we maintain in pricing , we alos mentioned in Taxinj and step is also given in FTXP .
    So pls give me more clarity on this
    Regards
    Umang

    For A /P tax condations , tax amount posted  to accounts from tax procedure.
    For A/ R taxcondations ( which condations we are using in sales pricing procedure)
    tax amount posted  to accounts from sales pricing procedure
              It is helpful give rewards points
    Regards
    Raj

  • Can anyone tell me how the Status Profile works in relation to BP's...

    Can anyone tell me how the Status Profile works in relation to BP's...
    For example, how can I view a particular status that a BP has, and can a BP have more than one status against a status profile. Also what date/time details are set when a status is changed?.
    Can anyone help with this?.
    Jas

    Arap,
    Many thanks for the info. As with all these posts, you do your best to try and find out yourself, fail, then raise a question on a site like this. As soon as you do the answer(s) become clear.
    I've found transactions BS02 which shows Status Profiles, and associated status.
    The Order/transaction holds the status set and can be extracted using the FM/Program CRM_ORDER_READ and using the ET_STATUS table.
    That's what I was mainly after.
    Many thanks for your help.
    Jas
    Edited by: Jason Stratham on Apr 1, 2009 4:59 PM

  • How the star schema works

    How the star schema works – Make A Simple Query – “Show me the revenue for customers  located in Sacramento for the Material Group ‘Electronics’ in the month of October”  - Sequence the order of execution
    a.     Access the Fact Table
    i.     Select all the records in the Fact table which have meets the given criteria
    b.     Access the Dimension Table
    i.     Access the customer dimension table and select all the records with city =”Sacramento”
    ii.     Access the material dimension table and select all the records with Group =”Electronics”
    iii.     Access the Time dimension table and select all the records with Month =”October”

    Kutti,
    Your explanation is in the opposite way -
    access the Dimension tables and find the relevant DIM IDS for the given conditions --> search for the DIM IDs in the fact ...
    You cannot hit the fact directly since the DIM IDs will not be the same as SIDs unless you are talking about line item dimensions...
    best way is to have a query on a cube - execute it through RSRT and in the execute and debug option - select "Display SQL Query" and there you can see the query being run..
    Arun
    Assign points if useful

  • How does auto-recharge work?

    I have a question on how the automatic charge works?? I was skyping with my btother earlier today and I got charged while we were both using skype is it not free anymore? ? Cause I'm about to explode right now???

    Do you have  a case on it?
    Remove it and see if it solves.  The case could be blocking the sensor.
    Here is a link to the manual again:
    iPhone User Guide (For iOS 5.1 Software)

  • How the transactional replication work for simple recovery database (looking for some internal concept)

    How the transactional replication work for simple recovery database (looking for some internal concept)
    Rahul

    There seems to be a new myth going around recently. I’ve had at least three people tell me, in the last month, that SQL’s transactional replication requires the database to be in full recovery.
    This is complete fabrication. Replication (SQL native replication, that is) can work with the databases in any of the recovery models.
    Transactional replication does involve the transaction log, as that’s where it picks up changes from. The log reader scans over the transaction log looking for log records marked for replication, copies those to the distribution database and then marks them
    as replicated. When the checkpoint (for simple recovery) or log backup (for full or bulk logged) occur, the log will only be truncated up to the oldest inactive, replicated transaction.
    Because transactional replication has its own way of ensuring log records aren’t discarded before been picked up by the log reader, there’s no requirement for a specific recovery model.
    Refer this link
    http://sqlinthewild.co.za/index.php/2008/12/05/a-new-sql-myth/
    --Prashanth

  • How to use commit work as per the requirement?

    Hi all,
           Here i have a requirement about database table updation. I have to update a database table, at the time of doing commit work it has to check the following condition .
    The data should be split up in different groups or records of no more than 2000 after which a commit to the database is executed.
    So can anybody help me in this regard with a piece of code? and i want to know during updation how to lock the data base table and how to unlock? Is there any standard function modules to call regarding this locking and unlocking?
    Thanks & Regards
    Naidu

    which table is that? and do you have any code so far?
    Logically you need to loop thru your records, lock the table for that record, update the table , unlock the tabel record, count the entires so far, andi f it is 2000 issue commit work.

  • How  does the auto brightness work. Do I need to set it somehow?

    In a dark room my iPad is to bright.with the auto brightness on shouldn't it dim automatically?

    You can have it on or off. If off, it is manually controlled with the slider.
    With it On, it varies with background lighting levels, but you can control the 'relative' brightness with the slider.

  • How to auto commit in pl/sql

    Hello,
    I am calling a PL/SQL procedure from a JDeveloper program. My connection is an "auto-commit" connection, but still, the PL/SQL is not committed until the procedure returns. Is it possible to avoid this, so that every single statement in the PL/SQL is committed immediately?
    Regards
    Jakob

    A PL/SQL block reprsents a single unit of work that either commits or rollbacks. In that sense, that is how it is designed to behave. If you need otherwise, you would have to explicitly place COMMIT statements at appropriate locations.

  • How to use commit work in class cl_bls

    Hi,
    When i have used commit work after email sent,
    it goes into dump.
    Here is the code segment:
      try.
        -------- create persistent send request ------------------------
          send_request = cl_bcs=>create_persistent( ).
        -------- create and set document -------------------------------
          pdf_content = cl_document_bcs=>xstring_to_solix( pdf_tab ).
          document = cl_document_bcs=>create_document(
                i_type    = 'PDF'
                i_hex     = pdf_content
                i_length  = bytecount
                i_subject = sub ).  "#EC NOTEXT
        add document object to send request
          send_request->set_document( document ).
        --------- add recipient (e-mail address) -----------------------
        create recipient object
          recipient = cl_cam_address_bcs=>create_internet_address( recip-recip ).
        add recipient object to send request
          send_request->add_recipient( recipient ).
        ---------- send document ---------------------------------------
          sent_to_all = send_request->send( i_with_error_screen = 'X' ).
         commit work.
          if sent_to_all is initial.
            message i500(sbcoms) with recip.
          else.
            message s022(so).
          endif.
      ------------ exception handling ----------------------------------
      replace this rudimentary exception handling with your own one !!!
        catch cx_bcs into bcs_exception.
          message i865(so) with bcs_exception->error_type.
      endtry.
    What could be the reason?
    Is there any way to use commit work in class while sending email as in SO_NEW_DOCUMENT_ATT_SEND_API1 fm?
    Thanks.

    Hi,
    I have used
    submit program.....
    but in update task i have used it.
    "Z_SD_ORDER_UPDATE".    program is a print driver program.
    However error says:
    There is probably an error in the program
    "Z_SD_ORDER_UPDATE".  
    This program is triggered in the update task. There, the
    following ABAP/4 statements are not allowed:
    -  CALL SCREEN
    -  CALL DIALOG
    -  CALL TRANSACTION
    -  SUBMIT
    I used submit as:
      WAIT UP TO 2 SECONDS.
      SUBMIT rsconn01 WITH mode = 'INT'
                      WITH output = ' '
                    AND RETURN.
    Instead of submit i want to use commit work but i also get a dump after commit work too.
    How can i use commit work in above code?
    Thanks.

Maybe you are looking for

  • Confirmation control key check for inbound delivery creation

    Hi, Currently, in the Client's company, the process of receiving goods from purchase orders looks like that (SAP-wise): - create a purchase order, - receive goods using MIGO and automatically create an inbound delivery, - pack the delivery and post g

  • Daisy-Chaining Firewire External Drive Tips Needed here!

    H, I have three cases with drives in them I want to connect to my iMac for various duty: 1) fw/400/800/esata/usb case (externally-powered) 2) fw/400/usb case (externally-powered) 3) fw/400/esata/usb case (bus-powered) My current setup is to chain 1 &

  • Java Doesn't Recognize Something That Exists?

    I'm writing an XML checker for a homework assignment. I'm using a stack which uses a double linked list which uses nodes with a generic data type. I ran into a problem after testing the program for the first time. I got a NullPointerException error a

  • Had to replace my hard drive how do i get my music back from itunes

    i had to replace my hard drive how do i get my music back from itunes

  • Automatisation Adobe Reader

    Bonjour , Je pose donc mon probléme , depuis un logiciel de supervision PcVue , l'utilisateur ouvre Adobe Reader ou Adobe Acrobat X Pro (Similairement identique sur l'ouverture et lecture de fichier PDF) Manuelement il peut lancer une ROC (Reconnaisa