Help Please: how to turn off autocommit in 9.0.2

Hi, You Experts,
I am using one same STATEFUL jsp page for user to add new and edit existing records.
When a user trys to ADD a new record, I use the following codes to create an empty record without committing:
<% if (actParam.equals("AddNew")) { %>
<!-- Create a new empty record -->
<jbo:Row id="newRow" datasource="dsEdit" action="Create" />
<% } %>
When the user decided to SAVE the record, the follwing codes update the record and commit it:
<% if (postParam.equals("Post")) { %>
<jbo:Row id="theRow" datasource="dsEdit" rowkeyparam="MyRowKey" action="Update">
<jbo:SetAttribute dataitem="*"/>
</jbo:Row>
<jbo:PostChanges appid="am"/>
<jbo:Commit appid="am"/>
<% } %>
Otherwise, the following codes will delete the empty or half-filled record and commit it:
<% if (postParam.equals("NotPost")) { %>
<jbo:Row id="delRow" datasource="dsEdit" rowkeyparam="MyRowKey" action="Delete">
</jbo:Row>
<jbo:Commit appid="am"/>
<% } %>
This scheme works just fine for all users who are rule-following citizens. However, if someone leave the page (e.g., by use back button on the browser) after having started adding a new record, an EMPTY record is always commited to DB seemingly automatically.
So, how can I turn the autocommit off so that no empty record is committed to DB if the use drifted away mindlessly.
Thank you very very much.
Zhirong

The new row is being posted becuase 'somewhere' in your application you are calling commit. We dont commit automatically.

Similar Messages

  • HELP PLEASE~How to turn the buzz off my iSight iMacG5...

    Hi all,
    I seriously need some help here. I've got my iMac 20" couple weeks ago, and it was quiet at first. I didn't hear the buzz sound coming from the middle left until maybe about 3~5 days. Now my roommate just got a 17" iSight iMac, which is whisper quiet. I still can hear the fan or air goes in and out from her machine but it is totally acceptable unlike mine...
    I thought it was due to the upgrade to 10.4.3, so I reinstalled the OS again but the sound's still there. I then took it to a mac store to examine it. This evening a techincian told me it normally functions in a quiet room and he thinks everything's right, so I took it back but the sound's still there...
    Few iMac 20" users here also have the same buzz problems like mine. I really hope it becomes as quiet as the first time I got it, so please let me know if you have any ideas to solve this...The buzz really annoys me especially when I don't hear anything from my roomate's...
    Any input will be much appreicated. Thank you.

    Why don't try reseting the SMU here are the Directions on how to do it.
    The SMU (System Management Unit) is a microcontroller chip on the logic board that controls all power functions for your computer. If your computer is experiencing any power issue, resetting the SMU may resolve it. The SMU controls several functions, including:
    Telling the computer when to turn on, turn off, sleep, wake, idle, and so on.
    Handling system resets from various commands.
    Controlling the fans.
    Note that resetting the SMU does not reset the PRAM. Resetting the SMU will not resolve issues in which your computer is unresponsive—in these situations, restarting your computer will generally suffice. If your computer isn't responding, perform these steps one at a time, in this order, until the issue has been resolved:
    Force Quit (Option-Command-Escape).
    Restart (Control-Command-Power).
    Force Shut Down (press the power button for 10 seconds).
    Resetting the SMU can resolve some computer issues such as not starting up, not displaying video, sleep issues, fan noise issues, and so on. If your computer still exhibits these types of issues even after you've restarted the computer, try resetting the SMU. To reset the SMU on an iMac G5 (Ambient Light Sensor) computer, simply do the following:
    Turn off the computer by choosing Shut Down from the Apple menu, or by holding the power button until the computer turns off.
    Unplug all cables from the computer, including the power cord.
    Wait 10 seconds.
    Plug in the power cord while simultaneously pressing and holding the power button on the back of the computer.
    Let go of the power button.
    Press the power button once more to start up your iMac.
    Unlike earlier iMac G5 computer models, the iMac G5 (Ambient Light Sensor) and iMac G5 (iSight) computers do not have a button on the main logic board for resetting the SMU. This eliminates the need to remove the computer's back cover to reset the SMU.
    Post back, Miguel

  • Safari and webmail email alerts - how to turn off?

    One of the webmails I use has annoying feature - it alerts me with every incoming email. Safari icon starts to jump at the Dock and a small window appears telling me that I have email!
    I have searched my webmail settings but there is no way to turn it off. So there should be one at the Safari or Mac settings but I did not find anything there either! I have turned off pop-ups but apparently this small "thing" that appears is not considered a pop-up.
    Can anyone help me how to turn off this distraction?
    Sasha
    P.S. My Mac is iMac Intel and Safari is 2.0.4

    There is an option under Preferences > Auto-Correction to "Automatically detect email and web addresses." You want that one unchecked. There is also a link inspector, second from the right, with options to enable hyperlinks or make all hyperlinks inactive. Seems contradictory to me & I've found that if a document already has some linked text, changing these preferences doesn't change the existing links. And, if you paste in something with a link the link will still be active.

  • Please help me to find out how to turn off the shuffle feature on my touch i-pod, Please help me to find out how to turn off the shuffle feature on my touch i-pod

    Please help me to find out how to turn off the shuffle feature on my I-pod nano ... THANK YOU!!!!!! :)

    Just figured it out :) Thanks though!!!

  • Someone PLEASE tell me how to turn off the community emails being sent to my email. there are hundreds of them

    SOMEONE PLEASE TELL ME HOW TO TURN OFF THE COMMUNITY EMAIL BEING SENT TO ME. THERE ARE THOUSANDS IN MY EMAIL. I HAVE TO SPEND HOURS DELETING THEM. SOMEONE PLEASE TELL ME HOW TO TURN IT OFF!! PLEASE HELP ME! THANK-YOU
    <Email Edited by Host>

    Follow these instructions
    https://discussions.apple.com/static/apple/tutorial/email.html

  • TS1489 Using Windows 7 but there is no Compatibility Tab in Properties. Any idea how to turn off this mode please.

    I am using Windows 7 but when I go into iTunes -  then Properties, I cannot find a Compatibilty Tab.  Any idea how to turn off this mode please?

    I am using Windows 7 but when I go into iTunes -  then Properties, I cannot find a Compatibilty Tab.  Any idea how to turn off this mode please?

  • Can someone please tell me how to turn OFF Disk Mode on an Ipod Classic?

    Can someone please tell me how to turn OFF Disk Mode on an Ipod Classic

    Just Reset it like this
    Toggle the Hold switch, make sure you dont see the red mark when you do the  next step
    Reset the iPod -> Press Menu and Center button simultaneously for about 10 secs or till the Apple Logo comes ON
    Then release the buttons
    Select your preferred language.
    Here is the Apple support Article on the 5Rs
    http://www.apple.com/support/ipod/five_rs/classic/
    Good Luck!

  • Could you please tell me how to turn off the email sign-in and password function when I open Itunes on my computer - I don not wish to sign in every time

    could someone please tell me how to turn off the email sign-in and password function when I open Itunes on my computer - I don not wish to sign in every time

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • Had my Iphone 4s in rain and then the screen started to do funny things. (going to different screens and going to turn off screen) Want to put in a bag of rice now but can't turn it off, its just keeps turning itself on. Any help on how to turn it off.

    As the header say any help on how to turn it off or just put it in the bag of rice and hope for the best as its down to 25 % power anyways

    When an iDevice gets wet the First thing to do is Turn it Off... leaving it on is not good.
    If you cannot Turn it off... go to your nearest Apple Store.

  • How to turn off frame edge highlighting in CS5?

    Has anyone discovered how to turn off the frame edge highlighting on rollovers. I find this feature visually distracting and quite annoying as I'm moving around a page. Send advice, please. Thx.

    Chief:
      Sorry we got off track and didn't post the main workaround for Frame Edge Highlighting: Keep your hand on the spacebar.
    This comes from  Mike Rankin in the InDesign Magazine Tip of the Week in January:
    TIP: Spring-Loaded Tools to the Rescue
    InDesign  tries very hard to help you align objects when you drag by snapping  them Do you dislike the Frame Edge Highlighting that appears when you  mouse over frames in CS5? Spring-loaded tools can help. Frame edge  highlighting only appears when you use one of the selection tools. With  spring-loaded tools, you can press and hold single keys to temporarily  switch to any other tool. As long as you hold the key for more than a  second, you'll switch back to your previous tool when you release the  key. You have plenty of choices (t, \, p, f, m, n, c, e, g, z, etc).
    Holding  the spacebar also prevents the highlighting from appearing, and it's a  nice big place for your fingers to rest. Heck, you don't even have to  pay much attention to where you press--just rest your hand in the middle  of the keyboard and lift it up when you want to select something. But  don't hold v or a, which are the shortcuts for the selection tools.
    - Mike Rankin
    (Mike had suggests this several times in the past year,  though not with the spacebar. E.g. he recommended 'H' back in June over  on
    InDesignSecrets. "H" for Hate).
    There have been several threads on this, including the locked 201-post monster, Frame edge highlighting, and the feature request Allow Frame Edge Highlighting to be turned off, and frame edge highlights on hover.
    Basically  the takeaway is that it only happens with the selection (V) and direct  selection (A) tools, and that multiple people have asked Adobe for a  control to turn it off, and they've finally added one, but only in CS5.5, not in a CS5 maintenance release.

  • HT4623 How to turn-off tap display during passcode entry

    I recently bought Iphone 4s. I like the phone as such but one thing that I want to change is tap display while entering the passcode on lock screen. I don't want to see which keys I am entering as this can put my phone on risk as anyone close to me can see what keys I had pressed to unlock the phone.
    Please help to let me know "How to turn-off tap display during passcode entry" on locked screen.
    Thanks for the answers and suggestion.

    This cannot be done.  You should simply hide the display from others' view.
    iPhone 5S allows you to use your fingerprint instead of the passcode.

  • How to turn off "frame by frame" editing

    Please help!!!
    How to turn off this "frame by frame" editing ???
    Editing skips frame by frame...
    sorry for my english

    black69 wrote:
    At the top of the timeline appeared to line "ruler" (i had to run a command abbreviation) and i can not edit fluent materials only jumps frame by frame.
    Can you explain further?
    There does not seem to any timecode, frames or any numbers in the Timeline ruler.
    Are you zoomed in all the way?
    Al

  • 'save in subfolder' - how to turn off by default ?

    'save in subfolder' - how to turn off by default ?
    Thank you for any help with this,
    TB

    It is really annoying when settings/features are added that just assume a specific work process - without an option to turn them off (or complicated work arounds).  And even more annoying when I am asked to submit a feature request after adobe randomly changes things.
    This was not a random change. The ability to render image sequences into a sub-folder was a feature request that we have received many many times over the years. Many After Effects users, myself included, sometimes forget to manually create a folder for an image sequence with the result of hundreds or thousands of files exploding into the renders folder or your desktop or wherever the render was saved to.
    We answered not only this common feature request but extended the functionality to all formats by the following:
    Adding the Save in Subfolder control to create a folder for any output module
    Adding support for creating and using folder paths in output file name templates (which naturally interacts with the Save in Subfolder control)
    Adding a new output file name template that creates a folder, which is used by default for image sequences
    All of these additions were vetted by actual After Effects users before we released the After Effects CC (12.2) update.
    not sure why defaults have to be changed.
    Perhaps I didn't answer your original question directly: there is not a simple option to stop Save in Subfolder from being enabled when you choose an image sequence format. This would be an additional control on top of the rest of this new functionality. It's not something we thought was necessary as part of the original design of these changes, but we could be convinced to add it in the future. So if you (or anyone else) would like to see this added, please submit a feature request.
    The reason why you can get the result you want by changing default output file name template is because that is how the logic works in After Effects. Choosing an image sequence format triggers the use of the Comp Folder and Name template. Changing what that template contains will apply your new rules instead.
    Regardless of the template, you can always change the output file path on a case-by-case basis by simply unchecking Save in Subfolder or by choosing a different output file name template.

  • How to turn off demo mode in Xeperia Z1

    Hi,
    How to turn off demo mode in Xeperia Z1, Please help on this.
    Solved!
    Go to Solution.

    You might have a demo unit in that case.Contact your seller.
    All we have to decide is what to do with the time that is given to us - J.R.R. Tolkien

  • How to turn off findmyiphone on a damaged screen

    I have an iphone 4S with iOS 7.1.2. I left it on the car yesterday, it fell off in traffic. When I finally realized what happened, I was able to find it. The screen is destroyed but the rest of the phone surprisingly works. No issues with the ringer volume, data/ charge port, ringing, etc. I've submitted a warranty claim but would like to do a factory restore ("Restore iPhone") via iTunes before sending it in. I have a passcode protected phone and it apparently has findmyiphone enabled. I am at a loss here on how to turn off that feature as it's required to be off before doing a full restore. I've gone in to iCloud > Find My Iphone on my PC and removed this phone from the account.
    Luckily my wife was able to use her upgrade today so I just activated my number on her old 4S. I'm now thinking this may have screwed the potential for turning the feature off on my old phone.
    Gurus, please help.

    Hey KG2365,
    Thanks for the question. After reviewing your post, it sounds like you need to turn off Find My iPhone but can't since the screen isn't working. I would recommend that you follow this article, it may be able to help you resolve or isolate this issue.
    iCloud: Remove your device from Find My iPhone
    http://support.apple.com/kb/PH2702
    Remove an iOS device you no longer have
    If you no longer have the iOS device because you gave it away or sold it, you need to remotely erase it before you can remove it.
    Sign in to icloud.com/#find with your Apple ID (the one you use with iCloud).If you’re using another iCloud app, click the app’s name at the top of the iCloud.com window, then click Find My iPhone.
    Click All Devices, then select the device.
    Click Erase [device], then enter your Apple ID password. Because the device isn’t lost, don’t enter a phone number or message.If the device is offline, the remote erase begins the next time it’s online. You’ll receive an email when the device is erased.
    When the device is erased, click Remove from Account.All your content is erased and someone else can now activate the device.
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

Maybe you are looking for

  • IMac and other Apple devices lose wireless connections

    We have two Apple iMacs, a MacBook Pro, an iPad and iPad2 and they all intermittently lose their Wireless connection to my network.  All of my PC's work just fine and stay connected.  This is funny... the MacBook Pro booted to Windows 7 Pro stays con

  • How to implement usb touch driver in Wince 6.0?

    Dear all: I try to implement a usb touch driver in Wince 6.0, but I have some question as below: 1. What method do I use, usb client driver or touch driver? 2. Does any reference link?     I surved this link : https://msdn.microsoft.com/en-us/library

  • XML Parser for C++ v2(Error 219)

    Hi, I am using Oracle XML Parser for C++ v2. I tried to parse an xml document. When I execute the following code: ecode = parser.xmlparse((oratext *) DOCUMENT, (oratext *) 0, flags) I got the 219 error code (no message file for product=ORACORE, facil

  • Test Publication - Command Execution Failed! Command Timed Out!

    Hello All, While testing my publication I get the following error Command Execution Failed! Command Timed Out!I've tried everyform for the Mobile Server URL : dns, ip, hostname and nothing seems to work. Thanks in advance for some advise. Jan

  • Taking data from SAP ECC6 transparant table.

    Hi All, Can you please help me to taking data fromt he transparant table of SAP ECC6. I am using Xcelsius 2008. Thanks in advance. Regards BaaRaa.