Load after Store retuns wrong value... Please Help!

          I have CMP entity bean which basically increment value in
          one column of the database at one row.
          When it is used concurrently, then it produces wrong results. The log looks like:
          ejbLoad value=1
          call Increment value = 2
          call Increment value = 3
          ejbStore value=3
          ejbLoad value=1 <<< ????
          All log belong to the same instance of object, which is verified by hash code of the object. Threads may be differnet.
          The error occures only under fast concurrent access.
          I tried isoltaion level but it does not influence.
          I have Weblogic 5 SP 6, database is Inprise.
          

Thanks for the tip GIlad I've amended my code but am still experiencing the issue, im at a loss as to what is preventing the address field from changing when the subbrand changes.
Can you suggest anything else that may be preventing this from happening?
Updated Code:
var subBrand = this.getField("SubBrand").value
var location = this.getField("Location").value
if      ((subBrand == "Passion" || "Passion for Men") && (location == "WW")) {
        event.value = "Not Applicable";
else if ((subBrand == "Passion" || "Passion for Men") && (location == "US")) {
        event.value = "US02";
else if ((subBrand == "Passion" || "Passion for Men") && (location == "WH")) {
        event.value = "WH02";
else if ((subBrand == "Adventure" || "Liquid" || "Silver") && (location == "WW")) {
        event.value = "WW01";
else if ((subBrand == "Adventure" || "Liquid" || "Silver") && (location == "US")) {
        event.value = "US01";
else if ((subBrand == "Adventure" || "Liquid" || "Silver") && (location == "WH")) {
        event.value = "WH01";
else    event.value = "";

Similar Messages

  • I purchased a Mac book pro in oct 2011, I restarted it after updating and it,s stuck on apple symbol, I hit command R while restarting and clicked on disk utility. It says disk can't be repaired, apple wants $249 to tell me what's wrong. Please help!

    I purchased a mac book pro in oct 2011, I restarted it after updating and it,s stuck on apple symbol, I hit command R while restarting and clicked on disk utility. It says disk can't be repaired, apple wants $249 to tell me what's wrong. Please help!

    What Apple store told you they wanted $249.00 to tell what is wrong?
    If this is a 13" Macbook Pro then that is the cost of the Extended Applecare warranty. As you are outside the 90 days of Free Phone Support then what Apple told you is that to get Phone Support you would either need to pay $45 per phone call or pay $249.00 for the Applecare extended warranty which comes with 3 years Free Phone Support from date of purchase.
    Or you can take it to a Apple Genius Bar and have them look at it for Free.
    Every Mac comes with 1 year warranty and includes only 90 days of phone support. You can buy the extended Applecare warranty anytime within the first year of ownership, IE until the 1 year warranty runs out.
    I suggest you have your computer looked at by either an Apple Authorized Repair Center or Genius Bar and then before the 1 year warranty runs out buying the extended warranty

  • Bluetooth shuttted down after I updated to Mavericks, please help me !  I am 70 Years old and worked very happy with my iMac (21,5" mid 2010, 3,2 GHz Intel Core 3) until I updated him from  SnowLeopard 10.6.8 to Mavericks 10.9.2. 2 Days all was OK. Next M

    Bluetooth shuttted down after I updated to Mavericks, please help me !
    I am 70 Years old and worked very happy with my iMac (21,5“ mid 2010, 3,2 GHz Intel Core 3)
    until I updated him from  SnowLeopard 10.6.8 to Mavericks 10.9.2.
    2 Days all was OK. Next Morning-Start he needs (until now) 3 minutes to show me a SCREEN only milky white. After that he starts like ever with all ICONS in about 1 minute. (together 4 min.)
    ..But I must notice, that I cannot make anything, because the „BLUETOOTH APPLE WIRELESS KEYBOARD  and the APPLE  MAGIC MOUSE“ doesn't work anything like before.
    I could nothing do, I must drop my APPLE only out.
    That I maked ever 10x and all was the same... (Maveriks also 4x new updated)
    I taked my Logitech-Bluetooth-Mouse from the WIN-Laptop, dropped it in USB from iMAC...and in one second I could work only with this MOUSE...I buyd the Logitech COMBO K520 and all was OK now with my lovely APPLE iMAC to work with him...But without APPLE KEYBOARD and MAGIC MOUSE...and with a 4 min. -START until now.
    I  asked the EXPERTS from APPLE-SUPPORT under Tel. 0800-6645451 in Germany, became a Number, maked many Things by starting new, but the mistake after all is the same like before.
    When I look into ...Apple/ Info/System/ Hardware/ Bluetooth   ..my APPLE says: NO INFOs FOUND (Es wurden keine Informationen gefunden.)
    Under Hardware/ Diagnose : Selbsttest beim Einschalten: zuletzt ausgeführt: 15.05. 14, Ergebnis: Bestanden (that means OK) !!
    I asked many Peaple, who sold APPLE-Computers in the STORS, but they all had no IDEA, how they can help.
    I think, it could be a DRIVER when Starting the BIOS, JAVA RUNTIME a.s.o...
    Is an Expert under YOU to help me by my Problem with this iMAC ?

    dietmarfromdeu,
    if you start up your iMac in Safe mode, do you still have Bluetooth problems with your Apple wireless keyboard and Magic Mouse?

  • Hello I'm from mexico and I have the problem that my ipod touch 5g load not ..... I've been reading and this may in total discharge because I trying it a week and I have not been able to load what do I do? please help

    hello I'm from mexico and I have the problem that my ipod touch 5g load not ..... I've been reading and this may in total discharge because I trying it a week and I have not been able to load what do I do? please help

    - See:      
    iPod touch: Hardware troubleshooting
    - Try another cable. Some 5G iPods were shipped with Lightning cable that were either initially defective or failed after short use.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
      - Make an appointment at the Genius Bar

  • Since downloading the latest version of itunes i can not connect to the itunes store ?can anyone please help??

    since downloading the latest version of itunes i can not connect to the itunes store can any one please help ??

    I've been working on this all day!!! I've tried everything I know of and can't get it to load either. Sounds like lots of people are having problems. Here is what I have so far...I have uninstalled EVERYTHING on my pc from apple and reinstalled itunes to no avail. I have tried all sorts of things I've read as fixes online. NOTHING has worked. Here is something interesting that i have noticed though. my main pc (which is the one i have always managed my itunes account with for years) is a 32 bit system running windows 7. Yesterday I installed itunes for the first time on my new netbook which is a 64 bit (windows 7) system and it works just fine. i have three other laptops (all window 7) in my household that are all 64 bit operating systems and ALL have updated to 10.5 and THEY ALL work fine. this is FOUR 64 bit systems ALL updated w/10.5 that work and ONE that is a 32 bit that will not. Can't get any help from apple. their suppot *****! I want to get someone on the **** phone or a live chat but cant. *** APPLE????? please let mw know if you find SOMETHING i can try next. I'm out of ideas and patience!

  • My iPad2 display is turning red, and reverting to normal after several re-starts. Please help!

    My iPad2 display is turning red, and reverting to normal after several re-starts. Please help!

    Best thing to do is leave it turned off and take it to your local apple store and ask advice there

  • Finder (Snow Leopard 10.6.8) taking long time to load contents of any directory. Please help?

    In my macbook pro 5,2 snow leopard (10.6.8), Finder taking long time to load contents of any directory. Please help?
    I have already tried to spotlight re-indexing but it did not help. I am hardly able to work on it, almost for each directory I browse its keeps on spinning for 1min.

    Download iTunes from Apple's web site and install it.  Don't use Software Update.

  • I'm trying to reset my apple ID password but forgot my security questions. Apple are sending the confirmation e-mail to the wrong address, please help?

    I'm trying to reset my apple ID password but forgot my security questions. Apple are sending the confirmation e-mail to the wrong address, please help?

    Hello AndrewsAFCx,
    Thank you for using Apple Support Communities!
    If you cannot remember your security questions for your Apple ID, I would recommend these steps outlined in the article named:
    Apple ID: All about Apple ID security questions
    http://support.apple.com/kb/HT5665
    What should I do if I don't remember the answers to my Apple ID security questions?
    Try answering them at least once to see if you can get them right, even if you are not sure you remember the answers to your security questions.
    If you are confident you can't remember them, try one of the following:
    If you have three security questions and a rescue email address
    sign in to My Apple ID and select the Password and Security tab to send an email to your rescue email address to reset your security questions and answers. 
    If you have one security question and you know your Apple ID passwordsign in to My Apple ID and select the Password and Security tab to reset your security question.
    If you have one security question, but don't remember your Apple ID password
    contact Apple Support for assistance. Learn more about creating a temporary support PIN to help Apple confirm your identity when you contact Apple Support.
    Note: If you have forgotten your password and answer your security questions incorrectly too many times in a row, you will be unable to try to answer your security questions for a period of time. During that time you will not be able to reset your password and will not have access to your account.
    All the best,
    Sterling

  • I updated the spelling of a song in my itunes but its not reflecting when i check my ipod. this never happened before when after i updated to IOS5. please help.

    i updated the spelling of a song in my itunes but its not reflecting when i check my ipod. this never happened before when after i updated to IOS5. please help.

    Try unsyncing the sone and then resyncing. That works sometimes. Sometimes restoring from backup works. Other times nothing seems to work.. Yuo are not alone since iOS5 and iTunes 10.5/6.

  • I will cancel the membership of each month. Please cancel. I can not English. Settlement became seen wrong. Please help soon

    I will cancel the membership of each month. Please cancel. I can not English. Settlement became seen wrong. Please help soon

    Cancel the Cloud http://forums.adobe.com/thread/1439535?tstart=0 may help
    or
    Adobe contact information - http://helpx.adobe.com/contact.html may help

  • I am using adobe photoshop cs6. I am facing a problem. When i save any image as "save for web". After saving image it show cropped. An image show many parts of the image after saving the image. Please help me. Thanks in advance.

    I am using adobe photoshop cs6. I am facing a problem. When i save any image as "save for web". After saving image it show cropped. An image show many parts of the image after saving the image. Please help me. Thanks in advance.

    Just go back in photoshop and use the Slice Select tool, then just click and select the slice and hit delete - if you're not sure which one is the active slice just right click and find the one that has the Delete Slice option.
    It's possible you either added the slices by accident or if you received it from someone they just had the slices hidden. For the future, you can go to View > Show > Slices to display (or hide) slices.

  • My iPhone 4S is not preforming any network related operations after 5.0.1 update - please help!

    My iPhone 4S is not preforming any network related (Calls, Messages) operations after 5.0.1 update - please help!

    5.0.2 has not been released, thus you can not upgrade.
    Stedman

  • My iphone 4s wifi and bluetooth problem after updating ios 8? please help me...

    my iphone 4s wifi and bluetooth problem after updating ios 8? please help me...

    Hey there Abdulrahim0259,
    I would recommend that you use the following 2 article to help troubleshoot the Wi-Fi and bluetooth issues you are seeing, respectively:
    iOS: Troubleshooting Wi-Fi networks and connections - Apple Support
    And:
    iOS: Troubleshooting Bluetooth connections - Apple Support
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Everything I own (iPad, iPhone, mac) is set up on wi-fi.  when i bring my work computer home (dell laptop), I cannot get it to keep the connection in a different room. All my other devices work.... does anybody know what i am doing wrong? please help!

    Everything I own (iPad, iPhone, mac) is set up on wi-fi.  when i bring my work computer home (dell laptop), I cannot get it to keep the connection in a different room. All my other devices work.... does anybody know what i am doing wrong? please help!

    Windows drivers for Intel wireless cards are known problematic.. If you have plenty of signal and it still cannot keep or hold the connection the issue can simply be the type of wireless.
    Another problem is using names that windows does not easily handle.
    eg If you set the TC using apple names, like
    Fred Blog's Airport Time Capsule wireless24ad12
    Then to windows this is too long.. it has spaces and it has illegal character.
    Change all names on the TC to suit windows. Short, no spaces and pure alphanumeric.
    Also security must be suitable.. I have no idea how old or what OS your dell is, but if you still have issues.. pull off the security on the TC for a test.. if the computer suddenly works, it is not compatible with WPA2 AES. Make sure you also use a password that is mix upper and lower case plus numbers.. avoid special characters and make it 10-20 characters long say.. it is not required to be more than that unless you are paranoid.

  • HT1338 I receive this message ,repeatedly,when I try to update an App through App store:Error code 1009.Please help,what should I do?

    I receive this message ,repeatedly,when I try to update an App through App store:Error code 1009.Please help,what should I do?

    The App Store is not available in Iran.

Maybe you are looking for