Rollback without loosing currency

Hello,
We moticed that when rolling back a transaction on a JSP
(via the Rollback tag), curency is lost. Is there a way
to do a rollback w/o loosing the curency?
What about the refresh methods? Are those similar to
a rollback?
Chris

Chris:
refresh() will restore data from database on individual row basis. rollback() rolls back the entire transaction.
refresh() will keep currency. rollback() loses currency for all VOs.
If refresh() is good enough for your purpose, I'd recommend that. If you need to go with rollback(), you can get the currency info and restore it after rollback. But, this can be expensive. This is because after rollback the view row collections are all emptied out.
getCurrentRowIndex() can be used to get the current row index. Then, setRangeStart() and setCurrentRowAtRangeIndex combination can be used to set the currency. However, this index may be skewed by new rows. Since rollback will remove these new rows from the collection, the current-row-index may be indeed incorrect after rollback().
Thanks.
Sung

Similar Messages

  • I have 2 apple ids for iTunes...is there anyway I can combine them into one I'd without loosing all my music?

    I have an older iPod and new iPhone 5s. I have two separate accounts for each. Can I take my iPod account/Id and make into my iPhone id and transfer my music over?...without loosing my music!?

    If you mean Apple IDs, they can't be merged at all.
    If you mean iTunes libraries, import the content and playlists from one to the other.
    You can have content from multiple Apple IDs in one library.
    (104094)

  • I have music on my ipod that is no longer on my pc. How can I sync new music that is on my pc to my ipod without loosing the music that is currently on the ipod?

    I have an iPod Generation 4. I have been using it with my pc Windows 8 iTunes for some time with no problem. Recently I had to do a system restore and reinstall itunes 7. It works great but  I lost all of my music in itunes but  I still have all of my music on my iPod. When  I try to sync new music I have to my ipod itunes tells me it will erase all existing content on my ipod and replace it with the new content. My question is: How can I add my new music without loosing my old music?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • I have all my music on an external media drive that has crashed. How can I get the music of my ipod touch back onto the comupter without loosing the music when it syncs?

    I have all my music on an external media drive that has crashed. How can I get the music of my ipod touch back onto the comupter without loosing the music when it syncs. in order to start rebuilding my music collection?

    You should be able to recover the media with the tips in  this post from forum regular Zevoneer but I'm not sure what the implications are for your application settings. You can probably transfer your purchases into a newly authorised library, backup the device, recover any other media using third party tools, then restore the device from the backup. That should switch the assocation of the device to the new library but it is not something I've personally tested.
    When you get it all working, make a backup!
    tt2

  • I have 2 iphone 3gs and 2 ipads and they all have my account. Can my husband make his own account on one iphone and ipad without loosing what is already set up

    When I first purchased my iphone I set up my own apple account now my husband has one and it's under my account can he create is own account without loosing any data. The same goes with our ipads. TY

    A much simpler solution would be to go into Settings > Store and turn off Automatic Downloads

  • How to reset password for iomega storecentre ix2 without loosing my data

    im having a problem in accessing the iomega storecentre ix2. i cannot login to the nas server. how can i reset the password without loosing my data on it. Is it avisable to reset it using the reset button without loosing my data?.
    thanks!
    AJ
    Solved!
    Go to Solution.

    Hi altagumasi,
    The pinhole reset button on the back panel of the device will reset user and network settings. It will not delete your data. Press the reset button for 15 seconds and the device should reboot. After the reboot, you will go through the initial configuration process.
    Have questions and need answers?
    Search the database for answers to FAQ's, software/driver downloads, tutorials, news, features and more!
    LenovoEMC Support & Downloads
    LenovoEMC North America Support Contact Page

  • How do I change my iCloud to a new email address without loosing all my photos?

    How do I change my iCloud to a new email address without loosing all my photos?

    Hello Silas jr,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iCloud: Create or change email aliases
    http://support.apple.com/kb/ph2622
    You can also send email using an alias.
    Best of luck,
    Mario

  • HT1386 My system got crashed and I dont have backup fo my iphone.... now how do i synch my iphone with new itunes without loosing my data ?

    My system got crashed and I dont have backup fo my iphone.... now how do i synch my iphone with new itunes without loosing my data ?

    See if this user-tip for syncing to a new computer helps : https://discussions.apple.com/docs/DOC-3141
    If you have music from other sources on your phone (e.g. copied from CDs) and you don't have them on a backup, then there are some program listed half-way down this page which might be able to copy them back : https://discussions.apple.com/docs/DOC-3991

  • I have an alias of one of my external hard drives in my trash. When I click on "show original" all my external H D 's and my Mac hard drive show up. How do I delete this icon from the trash without loosing all my files?

    I have an alias of one of my external hard drives in my trash. When I tried to delete it, it showed that I was deleting 80,000 files and counting. I stopped the delete process and when I clicked on "show original" all my external H.D.'s and my Mac hard drive show up. How do I delete this alias from the trash without loosing all my files? When I tried to drag it back to the desk top, it just made a duplicate and remained in the trash. When I turned off the external H.D., the trash was then empty. Tried rebooting the computer and then turning the external hard drive back on and the alias shows up in the trash again. Much help appreciated.
    Rich

    In Finder's Menu, select Go menu>Go to Folder, and go to "/volumes". (no quotes)
    Volumes is where an alias to your hard drive ("/" at boot) is placed at startup, and where all the "mount points" for auxiliary drives are created for you to access them. This folder is normally hidden from view.
    Drives with an extra 1 on the end have a side-effect of mounting a drive with the same name as the system already think exists. Try trashing the duplicates with a 1 or 2 if there are no real files in them, and reboot.
    If it does contain data...
    http://support.apple.com/kb/TS2474

  • HOW DO I TRANSFER MUSIC FROM MY IPOD TO A 2ND COMPUTER THAT HAS LOST MOST OF THE MUSIC IN ITUNES WITHOUT LOOSING THE MUSIC WHICH IS NOW ON MY IPOD

    MY OLD COMPUTER HAS THE CORRECT MUSIC INSTALLED IN ITUNES.
    I HAVE NOW INSTALLED THE CORRECT MUSIC ON MY IPOD-NANO
    I HAVE A 2ND COMPUTER WITH AN INCORRECT MUSIC LIST IN ITUNES.
    I NEED TO COPY THE CORRECT MUSIC TO COMPUTER 2 FROM MY IPOD WITHOUT LOOSING WHAT IS ON THE IPOD.
    THANK YOU

    Typing in all caps indicates shouting is considered rude and is difficult to read.  Many simply do not read such posts.
    The music sync is one way - computer to ipod.  The exception is itunes purchases.  File>Transfer Purchases
    You need to copy everything from one computer to the other.

  • How do I split off my Ipad and Ipod from my wifes account that we have both used without loosing all my music, films and apps?

    I currently have an Ipod Touch and Ipad 2 wi-fi that were linked to my wifes account on her computer, she has an Iphone 4, Ipad 2 wi-fi + 3G and an Ipod touch.
    Over the years we have combined our joint music collections on to 1 itunes account - Silly Me!  I now need to change the arrangement so that I am able to log in to my new Itunes account, using my own computer without loosing any of my music, films and apps etc. Anybody got any solutions as I have tried to back up, open a new account etc and then sync and GUESS WHAT? everything disappears. music, films, apps etc. PLEASE HELP

    I'm afraid you can't do that on iOS devices. Any purchases that were done using the single account, in this case your wife's, can only be used if you continue to log in to the same iTunes account. If you now want to use your own separate account you will need to re-purchase any of the apps or media you want to use using your own separate account. Only iTunes on a computer can be authorized to use more than one account.
    Most families use one account for purchases for the very reason that they want to collectively share all the apps and media purchases. It saves money by not having to make separate purchases of the same things for each account.
    Hopefully, in the future, Apple will allow people to consolidate two or more accounts in to one so that purchases made on separate accounts will be able to be shared amongst those people.

  • HT1918 If I have two users on an itunes account can I change the payment information on just one of the users without loosing purchased items?

    If I have two users on one itunes account, can I change the payment method on one without loosing the purchases on that user?  If so how do I do this?

    If so how do I do that

  • I want to separate my apple id from the rest of my family without loosing the data on each device

    Hi everyone,
    I need a solution and would appreciate your help in resolving this.
    Initially I was the only one in my family with an iPhone. Overtime my parents have upgraded there phones to an iPhone however I didn't realise that by placing them under the same apple id as mine that I would be in such a mess.
    So basically I want my dad to have his own apple id/i cloud and my mum to have her own apple id/i cloud. I have created there own apple id's but can not setup there iPhones to there own account without loosing all there data.
    I know that all the apps purchased under my apple id cannot be transfered to them & that's not a problem. The only app they really use is "Whatsapp".
    I want to separate them from my id but don't want them to loose there data including there Whatsapp Conversations. Is there any way to do this?

    very simple dear, go to apple.com and make new id. just change the new id in icloud, imessage, facetime and game center in device settings.(use keep data or merge data option when change id except app store) you can use one id in many devices in app store for common purchase.

  • My PC was stolen. How can I connect my Iphone on a new PC without loosing everything (music, contacts, pictures, appli ....)?

    Hello everybody,
    Unfortunitely, my pc was stolen. Now I want to connect my Iphone on the new one but I don't know how to do it without loosing all I have inside (music, contacts, sms, mms, pictures, aplli ...).
    I have done a backup from my Iphone... and a backup of my PC HD just one day before so I hope you will have a solution for me !!
    An other thing... I don't know very well Itunes ... I can say that I am a beginner !!
    Thanks a lot for your help !!

    There is no way to get pictures off the phone or to move them from folders to the camera roll. The format on the phone is proprietary, so even if you could get them off you couldn't use them. Having said that, search the Internet; there are some apps that can access some files on the iPhone without hacking it. There may be one that can get the photos off. The only other option is to email them to yourself. This will reduce the resolution, however.
    I'm afraid you have pointed out the importance of frequent computer backups.

  • My family shares an account.  How do I switch my iphone to my new Apple ID without loosing all of my contacts and contents from the phone?

    I just purchased an ipad and created a new Apple ID.  My phone currently shares an apple ID that the whole family uses.  What is the best/easiest way to switch my iphone 4S to my new ID without loosing everything in my phone?  I want to streamline my own stuff...

    I'm not sure what you're trying to accomplish.  Are you trying to change your Apple ID for all services (iCloud, iMessage, store purchases, etc.)?  You can safely use a different Apple ID for all these things without jeopardizing your contacts/photos etc.  If you want to change your iCloud account you would need to turn off syncing for contacts and calendars and when prompted, choose to keep your data on your phone (rather than delete it).  Then you can go to Settings>iCloud, scroll to the bottom and tap Delete Account.  Then you can set up a new iCloud account with a new Apple ID and turn on syncing for contacts, calendars, etc. again.  To change your iMessage Apple ID, go to Settings>Messages>Receive At, tap the Apple ID at the top, sign out, then sign back in with your alternate ID.
    Where you will run into problems, however, is if you sync to a new iTunes library.  If you have already synced to one library and try to sync to a new one, iTunes will erase all iTunes content and replace it with the content in the new iTunes library.  Let me know if that's what you are trying to do.

Maybe you are looking for

  • ReadCursorResponse Items. How Do You Iterate Cursor Items?

    I am working on some C# code that returns a cursor response. The cursor does have items in it. I can access them individually. How can I determine a "count" of items, or how do I control an interation loop of the items returned by the cursor? In othe

  • Store template in the cloud

    How can i store my own created numbers template in the cloud for further use with my other devices (e.g. ipad, iphone) ?

  • Crash while recording

    Hi all, we have a problem with Soundtrack Pro which crashes when we start recording. It's a brand new Mac Pro, fresh install. Has anyone any idea what the error could be? Process: Soundtrack Pro [151] Path: /Applications/Soundtrack Pro.app/Contents/M

  • Cannot update an entity

    Hi, i syncronized the tablet and appear the next msg in the log: [20060925 07:31:16:612] E [MI/Smartsync ] Error while Smart Sync inbound processing: Error while Smart Sync inbound processing: com.sap.ip.me.spi.persist.IPersistenceException: Cannot u

  • CATW Internet Service - SE80

    Dear Experts, I have a requirement in which I need to do some changes to the CATW Internet Service in SE80 such that when the user clicks on the X (Close) button in the Internet Explorer browser window, I should be able to trap the event and kill the