Records aren't updated in batch processing when an error occurs

Hi folks,
We are facing a problem using batch processing with oracle. Our app is implemented without any framework (Struts, Hibernate, Spring, etc), using basic statements and the "auto commit" option is turned off.
When there's no errors into statements, everything goes fine! But, when one of commands doesn't execute succesfully, we can't commit others statements. Although specs say all of the previous statements should be committed when we explicit commit the transaction.
Does anyone have any idea about the source of this problem?
Thanks,
Auler.

Well, last time I checked, this was NOT a database forum, it's a "SQL and PL/SQL" forum, isn't it? Yes, SQL and PL/SQL run on the database, but they also run at the application level as well when you're working with Oracle Forms and Reports, which both have a built in PL/SQL engine.
And yes, I AM using RUN_PRODUCT...*before* I use the win_api_session call. I run the report, and THEN attempt to open the finished report once it has been written to file. But I can't do that if the report is still being generated, right? My RUN_PRODUCT call passes a parameter to tell it to close the Reports Background Engine once the report has been generated. So, what I do is test (using win_api_session) to see if the Reports Background Engine is open or not. WHILE (my loop here...see my last post) it's open, I loop, so that when it is no longer open, I know that my report has been generated, and I can make the call to attempt to open the report from file.
Again, what I need to do, is figure out how I can put some sort of error handling inside my loop to handle situations where there may be some sort of error in generating the report, and the Reports Background Engine doesn't get closed, which would leave me stuck in the loop.

Similar Messages

  • Batch Processing when Integration script is used

    Can we set up batch processing when we are using integration scripts to connect to source tables? If yes, then what are the settings required ?
    Thanks

    You need to create an empty flat file in the Openbatch folder (assuming you are using the single period load). the format for the file name is in the admin guide. I generally add this to the batch script before the batch process section.

  • HT1338 When trying to update my software, I get "an error occurred" message, and the update gets cancelled.  How do I fix it?

    When trying to update my software, I get "an error occurred" message, and the update gets cancelled.  How can I fix this?

    I have found other threads with this problem. The problem is that you are using your iTunes account on another user at the same time you want to update software. Just close iTunes from that user. See > https://discussions.apple.com/thread/4577180?start=0&tstart=0

  • When trying to do a recover and update an old iPod touch, "unknown error" occurs and nothing happens.  I have followed all the trouble shooting suggestions but nothing works.  Ideas?

    When trying to do a recover and update an old iPod touch, "unknown error" occurs and nothing happens.  I have followed all the trouble shooting suggestions but nothing works.  Ideas?

    Hi msclaude,
    Welcome to the Support Communities!  I'm not sure from your post what steps you have tried, but it sounds like you may need to use recovery mode to address the issue with your unresponsive iPod touch.
    If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support
    http://support.apple.com/en-us/HT201263
    If you can't update or restore your iPhone, iPad, or iPod touch
    You can put your iOS device into recovery mode, then restore it using iTunes.
    Use recovery mode
    You might need to use recovery mode to restore your device in these cases:
    iTunes doesn't recognize your device or says it's in recovery mode.
    You see the Apple logo onscreen for several minutes with no progress bar.
    You see the Connect to iTunes screen.
    Learn what to do if you see the progress bar onscreen for several minutes.
    To put your device into recovery mode, follow these steps:
    Turn off your device and leave it off.
    Plug in your device's USB cable to a computer with iTunes. 
    Hold down the Home button on your device as you connect the USB cable. Keep holding down the Home button until you see the Connect to iTunes screen.
    When you see this screen, release the Home button. If you don't see this screen, try steps 1 through 3 again. 
    When your device is connected, iTunes will open. You'll see a message saying that iTunes has detected an iPhone, iPad, or iPod touch in recovery mode.
    Use iTunes to restore your device. Restoring in recovery mode will erase your device. If you previously synced with iTunes or iCloud, you might be able to restore from your backup.Get more help
    Learn what to do if you don't see your device in iTunes for OS X, or in iTunes for Windows.
    If you put your device into recovery mode by mistake, restart it. Or you can wait 15 minutes and your device will exit recovery mode by itself.
    I hope this information helps ....
    - Judy

  • HT201210 What to do when an error occurs after the restoring process? my phone wont turn on anymore

    What to do when an error occurs after the restoring process? my phone wont turn on anymore

    The phone is telling you to plug in your phone to your computer. Do that then let it sit for a few minutes and then try it again and make sure itunes is open when you do

  • APP Store update iTune 11.0.2 install updates when an error occurs. (103)

    APP Store update iTune 11.0.2 install updates when an error occurs. (103)
    how to exclude this error,
    my computer is a MacBook Air, System 10.8.2 Please help, ...

    update itunes using the download site,  this worked for me
    http://www.apple.com/itunes/download/

  • Rollback when an error occurs

    Hi!
    I process all the xml files from a directory (insert the data into some relational tables). I use a for loop cursor to process each file at a time. When an error occurs, I have to rollback all the inserts and process the next file, but when I try to rollback the transaction, the following error is raised:
    ORA-01002: fetch out of sequence
    I know that this explanation is terrible without a line of code, but what I need to know is: is there any special treatment when I work with XML extraction? (I'm using XMLTABLE to extract the data). Because I have the same logic with text files + external tables and it works fine.
    Thanks.

    I've just found the answer at http://it.toolbox.com/wiki/index.php/Wondering_%27ORA-1002_Fetch_out_of_sequence%27
    (my cursor is not FOR UPDATE).
    And, sorry, the problem was not with XML.
    Bye...

  • Hello, i have a first generation ipod and i lost the pin, i followed the instruction to back up and restore factory settings but in the middle of the process an unknown error occurred

    hello, i have a first generation ipod and i lost the pin, i followed the instruction to back up and restore factory settings but in the middle of the process an unknown error occurred. how can i get my ipod working again with my backup files. please help

    What was the complete wording of the error message? Usually an error number is also given.
    Maybe:
    ERROR (1)
    - Place the iPod in DFU mode and then restore
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - Try on another computer
    - Try another cable           
    - Also, confirm your security software and settings are allowing communication between your device and update servers.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar     

  • What do i do after downloading iOS 3.1 software and "There was a problem downloading iOS 3.1.1 software update for ipod touch. an unknown error occurred (8288). Please check that the connection to the network is active and try again." comes up?

    what do i do after downloading iOS 3.1 software and "There was a problem downloading iOS 3.1.1 software update for ipod touch. an unknown error occurred (8288). Please check that the connection to the network is active and try again." comes up?

    Hello, I hope by now you have resolved the upgrade issue, but if not, here is what I ended up having to do:
    “SUCCESS!!! I took my iPod to a friend who is a computer programmer/genius. He turned off his wireless, hooked the ethernet cable directly into his computer, and the download went through without a hitch. YAY!”
    Here is my original post explaining what I had already tried:
    “Hi all,
    I got an iPod Touch 1st gen for my youngest son for Christmas as a starter. It has the 2.1.2 ios on it, but after I paid for the upgrade to 3.1.1, I keep getting an error message (8288) saying there was a problem with the network connection. I have called customer service, and they suggested I try on a different computer, and if that didn't work, try connecting to a different network, and then trying the update. None of this has worked. It seems that tech support is clueless with this issue.
    I have installed and unistalled iTunes 10.5, 10.3, 10.4, and now I am back with 10.5. I have tried looking up the issue from several search engines but no one seems to have a universal solution and I have tried several.
    I really want to have this thing updated for himw hwne he opens it, but I am starting to worry that my purchase was a bust. I know this is the oldest version, but I don't want to buy a newer, more expensive iPod and him still not be mature enough to really take care of it. As I said, this one is a starter.
    Can anyone help? Please?!
    Thank you!!!
    P.S. We have a PC, with Windows XP Home.”
    Now, there seem to be a lot of different ways to solve the 8288 error, none of which are universal. Best of luck getting yours upgraded!
    Tiffany
    P.S. The post by Sparkhi is a link to his blog going into a long story about how he wanted Apple to pay him for “solving” the issue….the one that apparently has been solved by multiple solutions. I’m not trying to bash, it just bothers me that he put up this whole story and finally, at the very end of his blog post, posts his solution.

  • I was updating my iphone 4 and an error occurred and now i can't restore my iphone

    I was updating my iphone 4 and an error occurred and now i can't restore my iphone and it wont show up in my itunes or on my computer

    http://support.apple.com/kb/HT1808

  • What happen when an error occurs during Snapshot-Refresh?

    Hi,
    I would like to know what happens, when an error occurs
    during a refresh (COMPLETE-REFRESH) of a snapshot?
    Is there a possibility for exception-handling??
    During a complete refresh the data in the snapshot will be deleted an the requested new from the master-side. Now when
    an error occurs during the refresh what happens with the "old" data of the snapshot??? Will it be lost?
    Thanxx
    Schoeib

    Each thread has its own error state. To get the results for a thread (including error result), you need to have a wait step which waits for it. If a thread has an error and you wait for it, you will get the error at the wait step that waits for it.
    If your main thread has an error and you want some worker thread to exit, you should add code to the cleanup of your main thread's sequence which signals the worker thread to exit (you should already have some sort of mechanism for signaling the worker thread to exit (there are many ways to do this, for example, a boolean variable passed by reference to the new thread's sequence, or a TestStand notification).
    If your main thread is getting an error, but is stuck inside a step, that problem is probably specific to something your code is doing, that is not the normal behavior of TestStand. You will need to provide more details or an example sequence in order for us to better understand what is happening.
    Hope this helps,
    -Doug

  • What happen when an error occur when there are 2 threads running ?

    Here is my execution :
    My MainSequence calls another sequence in a new thread. This sequence call a VI continuously
    When an error occur in the MainSequence, nothing happen : The step with the error in Mainsequence is still in execution state (with the arrow in front of it)  and the VI in my 2nd thread is still running. All I can't do is terminate all thread
    Is this behaviour normal ? What is the mean to solve this problem (maybe calling the 2nd sequence in a new execution ?)
    Thanks for your answer
    Laurent

    Each thread has its own error state. To get the results for a thread (including error result), you need to have a wait step which waits for it. If a thread has an error and you wait for it, you will get the error at the wait step that waits for it.
    If your main thread has an error and you want some worker thread to exit, you should add code to the cleanup of your main thread's sequence which signals the worker thread to exit (you should already have some sort of mechanism for signaling the worker thread to exit (there are many ways to do this, for example, a boolean variable passed by reference to the new thread's sequence, or a TestStand notification).
    If your main thread is getting an error, but is stuck inside a step, that problem is probably specific to something your code is doing, that is not the normal behavior of TestStand. You will need to provide more details or an example sequence in order for us to better understand what is happening.
    Hope this helps,
    -Doug

  • HT201210 I have tried to restore my i phone via itunes after doing the update and it keeps giving unknown error occurred (3194) please help

    I have tried to restore my i phone via  itunes after doing the update and it keeps giving unknown error occurred (3194) please help

    Hello Sam-marchesi,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694#error3194
    Unable to contact the iOS software update server gs.apple.com
    Error 1004, 1013, 1638, 3014, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Install the latest version of iTunes.
    Check security software and ensure that communication to gs.apple.com is allowed. Follow these stepsfor assistance with security software.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow theadvanced iTunes Store troubleshooting steps to edit the hosts file or revert to a default hosts file. See "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information."
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.
    Best of luck,
    Mario

  • HT1414 i was updating my iphone 4s but an error occured while updating it. my computer is not recognizing the phone and i cant restore it.

    i was updating my iphone 4s but an error occured while updating it. my computer is not recognizing the phone and i cant restore it.

    See this support document for help. You may have to do this more than once. http://support.apple.com/kb/HT1808

  • To display the same page when an error occurs.

    Hi,
      I need to display the same page when an error occurs in the page. For example, I am validating a few fields in a page. If an error occurs, then same page is to be displayed.
      I am presently using MVC type programming.
    Thanks in advance.
    Regards,
    Vara

    I usually use the Message class, for handling all possible validations. In the DO_HANDLE_DATA, do the validation, and if your validation fails, put your message in the message attribute available for that method. As you have not given a pointer to a new page, it will refresh that same page.
    If your validation is successful, go to next page.
    In the layout of this page(where you require validation), there is an attribute called page and it has get_message method. Call that method at the appropriate place in the layout.
    For more information , refer to :
    http://help.sap.com/saphelp_470/helpdata/en/91/b197ce280011d5991f00508b6b8b11/frameset.htm
    Web Applications and BSP --> Programming Environment -->
    Handling Incorrect Entries
    Let us know, if this answered your query.
    Regards,
    Subramanian V.

Maybe you are looking for

  • Error in SSIS Package in SQL Server 2008 R2

    Dear All, I am getting below error in SSIS Package. [OLE DB Destination [31]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available.  Source: "Microsoft SQL Server Native Client

  • No Authority....

    I bought an external hard drive (Seagate 3TB) and to mymacbook pro it works without problems. But to my newly purchased imac (OS Lions) so it would not give me permission to read, write to my hard drive. What's wrong and what should I do?

  • General CROSSTAB question

    Is it possible to create a crosstab report similar to: FIELD A-designation(value 1,2 or 3) FIELD B-year C| data D| data whereby designation 1 will always have under it both columns with data for the requested year and columns with data for the reques

  • Trouble with JTree's and autmoatically expanding nodes

    I am writing an application which uses a JTree as a method of browsing through a certain structure (like a file system). I am having a little trouble though, with a number of small issues, which I am finding hard to get answers through searches (and

  • When I open a former "word doc" it gets a page longer, why?

    Hello, I'm using "pages' on my new Mac Mini, there a some documents that I transferred from my current pc, that where on a format "word". When I open one of them, It has some changes that discontent me, and invalidate some documents: the changes are