How to handle an update of the same record from two different user  in JSP

how to handle an update of the same record from two different user
how do you handle an update of the same record from two different users in JSP... if one person updates the record from one drop downs should be updated as well.. is the possible.

Usually, if two users try to update the same row at the same time, you want the first to commit to succeed, and when the second commits, they should fail with the error that the row was being concurrently updated. They you may want to show them the new row values and give them the opportunity to merge their values with the new row values...
How can you achieve this? Google optimistic locking.

Similar Messages

  • How to handle an update of the same record from two different user JSP

    how do you handle an update of the same record from two different users in JSP... if one person updates the record from one drop downs should be updated as well.. is the possible.

    I'm not sure whether I understand your question. If one user changes a record then you would like other users to see those changes. Normally those changes will be visible to other users when they refresh their browser, after the first user has committed changes to the record. I you want to be sure that the same row isn't updated at the same time by to different user, you need to configure some locking (pessimistic locking) - this depends of what technology you use. In EJB3 pessimistic locking is performed by adding a version to every entity object. If you are using ADF, the framework is able to handle either pessimistic or even optimistic locking.
    If you want the changed row to be updated in other users browsers without any user interaction by these users, you should take a look at Reverse Ajax (ex. DWR http://ajaxian.com/archives/reverse-ajax-with-dwr) - or Ajax in general. But you will never get a realtime solution, where changes is visible in other users browsers right after each record update.

  • How to edit footage in the same sequence from two different cameras:  1) Standard Def 4:3 aspect ratio, and 2) Standard Def shot 16:9, anamorphic?

    What can I say.  We blew the shoot.  His high-end Sony camera - std def at 4:3 aspect ratio.
    My camera - the little Panasonic DVX100, set to anamorphic, so 16:9 aspect ratio.
    I have to edit this footage together in the same sequence.  Obviously, I'm getting prompts to change the sequence settings every time I try to move footage onto the timeline.
    Alternatively, would someone just thunk me in the head. 
    I'm sad about this.  I can't believe it happened.

    What is the ouput - standard 4:3 DV?
    If so, put a clip of the 4:3 material into a timeline and accept the offer to conform the timeline to that material. Then, any of the 16:9 material will be part of that settings - however - you will want to go into the DISTORT settings in the Viewer to alter the material so that the image extends beyond the sides (aka a center cut). It has been a long time since I've done this but I remember the number is something like 33 (or -33).
    x

  • Working on the same website from two different computers

    So I have a mac running iweb09 at work and a macbook with iweb08 on it and I would like to be able to work on the web page from both of these computers. Any suggestions or am I wishing for too much?

    So I have a mac running iweb09 at work and a macbook with iweb08 on it and I would like to be able to work on the web page from both of these computers. Any suggestions or am I wishing for too much?
    you can transfer Domain.sites2 between the two machines.
    but you should have the same iweb version on both machine. otherwise, you will run into hassle of this:
    http://discussions.apple.com/thread.jspa?messageID=9382549&#9382549

  • 2 iphones 1 computer. updated my wifes phone to ios 5 her phone got wiped of all apps and all my contacts are on her phone. we had been using the same apple id but different user accounts on our laptop. How do i get her phone back to normal?

    2 iphone 4, 1 computer. i upgraded to ios 5 and just updated my wifes phone as well. her phone got wiped of all apps and all my contacts were put on her phone. we had been using the same apple id but different user acct on our laptop. How do i get her phone back to normal??

    Have your wife log in to her user account on the laptop. Launch iTunes, then connect her phone to the computer with the USB cable. Sync. That should put back all apps and media. Since you already upgraded her to iOS 5 she'll have to manually enter all her settings and preferences, and organize her home screens.

  • TS4147 I have 2 iphones on the same icloud for 2 different users.  We (the users) dont want identical contacts. How do I delete the contats from one phone without deleting them from the other phone.

    I have 2 iphones on the same icloud for 2 different users.  We (the users) dont want identical contacts. How do I delete the contats from one phone without deleting them from the other phone.

    You can't; not if the phones are sharing the same iCloud account.  If you want to keep your data separate, migrate one of them to a different iCloud account.  (You can continue to share the same iTunes ID.)
    To do this, go to Settings>iCloud, tap Delete Account (this won't effect the other phone), choose Keep on My iPhone, sign back in with a different Apple ID to set up a new account, turn on your iCloud data syncing, then choose Merge to upload the data to the new account.  You can then go to icloud.com from your computer and delete the other person's data from each account.
    Another option if you're only concerned about not sharing contacts but wish to share everything else, is to set up a second iCloud account on one of the phones and sync contacts with the secondary account.  To do this, go to Settings>iCloud, turn Contacts to Off and choose Keep on My iPhone.  Then go to Settings>Mail,Contacts, Calendars>Add Account>iCloud, sign in with a different Apple ID to create the secondary account, and turn Contacts to On.  You can then go to icloud.com from your computer and delete the other person's contacts from each account.

  • How can i use the same id on two different laptops?

    When trying to use the same login on two different laptops so that i can connect my nook to either depending on which one is free, i get the error that the id is already in use on another computer?

    The issue is embedded in the way the software works.  To comply with the
    Digital Millenium Copyright Act of 2000, all software companies in this
    business keep track of where their software is installed, making
    information about the computer and ereaders part of an ID file.  So, your
    user ID is embedded in the ID file of each computer, but each computer has
    a different ID of its own that is also embedded in that file.  Adobe's
    master server (yes, there is one that you connect to even if you didn't
    know it) also has that information, and when you try to use an ID on one
    that's embedded in the file of another, Adobe's server blows the whistle,
    and as you can see, you can't do that....
    ==========

  • Use two indicators for the same variable in two different VIs

    hello, I want to use two indicators for the same variable in two different VIs running at the same time
    should I use global variables?? I want to avoid because I have lot of variables and it would takes too much memory,I tried with this code but the value of the second indicator is not updated 
    I tried to use the queue and it works but the problem is as i said previously that i have many variables shoud I use a queue for each one??
    what should I do?
    thank you in advance
    cordialy
    Attachments:
    projet.zip ‏13 KB

    CrisSTine01 wrote:
    hello, I want to use two indicators for the same variable in two different VIs running at the same time
    I'm a huge fan of User Events to send updates to GUIs from who knows where.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Can you use home share where there are 2 itunes on the same computer but under different user profiles?

    Can you use 'Home Share' where there are 2 itunes on the same computer, but under different user profiles?

    check out method one from this support article -> How to use multiple iPods, iPads, or iPhones with one computer

  • Urgent ! Assigning (or Linking ) the same workbook into two different roles

    Hi Gurus,
    Coul you tell how to link the same workbook to two different roles.
    I am assigning the same workbook to two different roles, but in the second role the workbook is displaying with different structure than in the first role. I want the workbook should be displayed with same structure in both the roles.
    This is Urgernt.
    Thanks in advance.
    Best regards
    Hari

    Hello hari,
    Both the roles should diplay the same layout for a single workbook.
    please ensure that both the users(with these 2 roles) have similar (all the other)authorisations.
    it's possible that one of the users may have further restrictions in authorisations. check out for z-authorisation objects if any.
    hope it helps..
    thanks,
    (*Don't forget to Assign points on SDN)

  • HT4528 Can I put the same information on two different i-phones with different numbers and different ID's?

    Can I put the same information on two different i-phones with different numbers and different ID's?

    Yes and no it really depends on what information you are putting on the devices.

  • HT2498 If I use camera window to download my pictures to my computer, and then I copy and paste the pictures to iPhoto. Would I be ending up having the same pictures in two different files in my computer, and so wasting space in my hard drive?

    I recently bought a canon camera. The instructions of the camara recommend to use the canon software (camara window) to download pictures to my computer.  I would like to have my pictures in i-photo because it syncs them to my ipad.
    I want to download the pictures from my camera to camara window, and then drag and drop the pictures to i-photo. If I keep my pictures in both programs would I be wasting space in my computer hard drive by having the same pictures in two different files?

    Yes.
    Ignore the Canon software. It gains you nothing and adds complexity. Just use iPhoto for the lot.
    Regards
    TD

  • Is it possible to share the same iCal on two MAC users?

    Please help me. Is it possible for me to share the same iCal on two different MAC users? I know that you can sync it to an ipod or iphone, but can you share it on the same MAC with another user?
    If anyone knows, please tell me! Thank you!

    I think the easiest way to share calendars between the two users on the same Mac is by using Google Calendars/Calaboration.
    (http://www.google.com/support/calendar/bin/answer.py?hl=en&answer=99358#ical)
    After following the instructions in the link, export your iCal calendar and import it into the new Google Calendar. All events will appear in the new Google calendar which you can see in iCal or gmail. Set this up with the same google account information used when configuring the first user account and both users will be able to write and/or remove events in the calendar using iCal.
    Hope this helps.

  • Is it possible to use the same Switch for two different clusters.

    I have 10g Rac setup on windows.
    Now I am planning to install 11gR2 on different servers.
    Is it possible to use the same Switch for two different clusters.

    user9198027 wrote:
    I have 10g Rac setup on windows.
    Now I am planning to install 11gR2 on different servers.
    Is it possible to use the same Switch for two different clusters.
    Yes.  Technically there will not be any conflict as long as the private addresses used by the 2 clusters do not collide, and provided that the switch's port capacity and bandwidth will not be exceeded.
    Your NA (netadmin) can also configure the switch to separate the 2 Interconnects from one another (called partitioning when using Infiniband) - if the switch supports such features.
    A major consideration is not to make the switch, public. That typically cause a range of problems and can have a serious impact on an Interconnect. But using 2 private networks on the same infrastructure should not have the same problems - if configured and implemented correctly.

  • Can i use the same email address for different users?

    we are a small department with one email address, can i use the same email address for different users?

    No. Each user needs to have his unique ID.
    Mylenium

Maybe you are looking for

  • Windows 8.1 and MSN Premium glitch

    I've installed the Windows 8.1 update. My MSN Premium email was not working correctly. I copied my saved emails and uninstalled Premium. I've been trying to reinstall and I get error code 37 the sign-up servers are experiencing difficulty. I just ins

  • RAID won't mount until 20 minutes have passed

    Every now and then I'll have a crash on my G5. If I have to force quit through menus or manually through power my RAID won't mount after the restart. The RAID is a striped 5 hard drive set at RAID 0. After some turning on and off of the RAID and plug

  • Sorting Values and keeping Keys

    Hi, I was hoping someone might be able to help me. I would like to sort some key value pairs. I have the following data the key is a string and the value is an int. "John",26 "George",25 "Ian",33 "Greg",25 I would like to sort the names by age and ou

  • Javaw.exe has encountered a problem a needs to close

    Hello, I'm working with an videoconference application (SIP Communicator) in a Java Web Start application. I've got to access to download the jnlpo file and the application run apparentely without any problem, but when I try to call a user I get a ja

  • Satellite P100: XP Pro Media Centre - unable to join domain

    Recently bought a P100 with XP Pro OS but I don't to be able to join the domain at work properly. Normally create a new account on the Server SBS 2003 then from the PC 'join domain'. Any clues? Peter