All rows in a Set get updated when only one row changes

I have a complex object, which contains a Set of child objects. If i modify one of the child objects and put the object back in the cache, coherence will issue a sql update for each of the child objects, even though only one changed.
I'm using hibernate, and when i do this in straight hibernate, that doesn't happen, only one sql update gets issued for the row in question.
I found this because i have a timestamp column that automatically updates when the row gets updated, but since all the child rows are updating, this timestamp gets updated as well which breaks the biz logic.
Am i missing something? Clearly it's inefficient to issue updates on all the child rows when just one changes. Is there some way to avoid this?
Using coherence 3.5.3.
Thanks.

This turned out to be an issue with POF serialization of a Date object. It was doing it incorrectly, it would get the day correct, but the HH:MM:SS would be set to the current time. Since the object had been changed, when i persisted the parent, all of the child rows would persist as well since their "modify_date" attribute had been changed. Eg, if the date in the DB was "2010-07-14 03:10:00" when i read the object in, the value would change to "2010-07-14 HH:MM:SS" where HH:MM:SS would be set to the current hours/mins/secs.
I changed the code to use my own serialization of a Date object (just used the long) and things worked fine after that.
Is this a known issue with pof serialization?

Similar Messages

  • Item description not getting updated when material description is changed

    Hi,
    In a contract, line item description gets copied from material master. However, when material master is updated line item description does not get updated in a transaction. Is there a way to update this?
    Thanks,
    Deepak

    Hi Deepak,
    Line item description is not changed as when you enter the material in order and save, description is saved in table CRMD_ORDERADM_I along with other details. now if you change the material master description it is pretty obvious that CRMD_ORDERADM_I contents will not automatiically change. if you enter the same material again in order as new line item system will read from material master whereas for existing line items will be read from CRMD_ORDERADM_I . you can change the description using FM CRM_ORDERADM_I_MAINTAIN_OW
    i hope it clarify your concern.
    Thanks
    sudhir grover

  • How can i control which iView gets updated when a nav node gets clicked?

    Hello,
    Following setting: the content area of the desktop inner page inside the default frameworkpage usually consist of just one iView.
    But what happens when there are 3 iViews inside? How do i have to call the pageloader which of the 3 iViews should get updated when a nav node of the detailed navigation is clicked?
    Thanx

    Hi
    Since you will be using the Merger Id property, they will be linked to a single link in navigational area.
    Refreshing a page / clicking the link in navigation Pane will result in refreshing of all the iViews.
    Regards
    Chander Kararia
    # Please close the thread once get the correct answer. Give rewards for answers.

  • Security question keep saying they are wrong and I know they are right. I can't change them cuz when I try it tells me to answer the questions. I have tried everything changing my account and all and still can't get it can some one please help me out.

    Security question keep saying they are wrong and I know they are right. I can't change them cuz when I try it tells me to answer the questions. I have tried everything changing my account and all and still can't get it can some one please help me out.

    Go here and select "Reset your password."  You will receive an email message with a link that bypasses the questions.  You will then be able to select and answer the questions again.

  • I have set hyperlinks within my ibook author document, they work perfectly until i export and view on the ipad, when only one or none work, (hyperlinks to website not working at all) what am i doing wrong?

    I have set hyperlinks within my ibook author document, they work perfectly until i export and view on the ipad, when only one or none work, (hyperlinks to website not working at all) what am i doing wrong?

    An external hyperlink should handoff to Safari and leave iBooks.
    If that's not happening, perhaps there is something misconfigured on your iPad? Have you manually confirmed those links work in Safari on your iPad?

  • [Solvd]XFCE mixer panel plugin doesn't get updated when volume changed

    XFCE audio mixer panel plugin used to show the correct volume when I change the volume either with my Laptop touchbuttons or keyboard volume buttons.
    1.  To make sure if I am actually changing the volume, I opened alsamixer and tested pressing keys they work fine.
    2.  I even opened properties option from the indicator and set it to "Master"(the one I use) of my speaker, still no luck.
    3. The only problem is the indicator doesnt update when the volume is changed or muted.
    But for unknow reason this problem started last week.
    Thanks for the help.
    Last edited by vikyboss (2013-06-23 16:27:36)

    vikyboss wrote:
    Actually the problem seems to be resolved. I have a fully updated system and installed xfce again few days ago. And it works miraculously..
    Installed versions:
    1. xfce4-mixer 4.10.0
    2. Advanced Linux Sound Architecture Driver Version k3.9.3-1-ARCH
    ravicious wrote:Oh, I actually fixed this myself yesterday. I installed pulseaudio, pulseaudio-alsa and xfce4-volumed-pulse (from AUR) and then removed volume shortcuts from xfce4-keyboard-settings. In xfce4-mixer, you just have to choose a proper playback as a sound card.
    Wow, actually it now works for me, too! Amazing!

  • "How are local and state taxes setup/updated when employee's address change

    Hi All
    I wanted to know "How are local and state taxes setup/updated when employee's address changes . - How is it done in SAP? -
    Thanks in Advance

    This defeats the purpose of trying to centralize SAP-related web resources on the SAP server. Typically IIS/Apache or other non-SAP servers are under the control of IT and not the SAP BASIS group.
    We simply would like to have a centralized location to store static web files so that they are not overwritten during Portal support pack applications.

  • New computer at work and all my song are on the server-when I try to change the folder location under preferences to the server, it still won't show my songs in Itunes?? please help!

    I have a new computer at work and all my song are on the server-when I try to change the folder location under preferences to the server, it still won't show my songs in Itunes?? please help!

    Howdy carpetjim,
    When you change the folder location like that, it changes where new songs and media are stored. To actually load the library you need to do this:
    Steps to create or choose a different iTunes Library file
    If iTunes is running, quit iTunes.
    If you are using Windows, hold down the Shift key and from the Start menu and choose All Programs > iTunes > iTunes.
    If you are using the Mac, open iTunes and immediately hold down the Option key.
    You should see one of the following screens:
    Additional information
    If you do not see one of the screens above, then you did not hold the correct key at the correct time. You may want to try again. Note that if you pinned iTunes to the Start menu programs, and open it that way, it may not work.
    From: iTunes: How to open an alternate iTunes Library file or create a new one
         http://support.apple.com/kb/ht1589
    Take care,
    Sterling

  • ScrollPane: thumb doesn't get updated after contents of scrollpane change

    Hi,
    I some content in a scrollpane. The horizontal scrollbar(thumb) is showing because the content is to big to fit horizontally.
    The problem is if the content changes, i.e. gets smaller for example, the scrollbars don't get updated. Only after touching them with the mouse do they shrink/grow accordingly.
    Is this a bug (it looks like it)? Is there a workaround?
    Thanks in advance,

    Sounds like a bug. Can you file the issue in JIRA?
    Thanks!
    Richard

  • Clear IDOC creation when only header level changes are made ME22N.

    Hi All,
    when the PO is  on changed in the header level only(for example header texts and header code)  and when we execute RSNAST00 one BADI getts triggered which checks if the Item category is 9 and  badi will clear the IDOC creation.
      If the PO item category is = 9, the IDOC must not be created. This badi works fine if the changes are made at
    1)at Item level
    2)both header level and Item level
    In case of 1 and 2 we have both header segment E1EDK01 and item segments E1EDP01.As a result it checks for the item category in the item segment.so idoc is not created.
    3)BADI is not working when the changes are made at the header level only. The IDOC is getting created even though the PO has the item category as 9.
    I found in this case only header segments are availble while debugging and the item segments are not there to check the condition for the item category.
    Please any one can suggest me possible solutions to  clear idoc creation when only header level changes are made ME22N.
    The BADI used is as below.
      DATA : lwa_data TYPE edidd.
      DATA : lw_dp01 TYPE e1edp01.
      DATA : lwa_control TYPE edidc.
      CHECK idoc_control-rcvprn = '3PL' AND idoc_control-idoctp = 'ORDERS05'.
      LOOP AT idoc_data INTO lwa_data.
        IF lwa_data-segnam = 'E1EDP01'.
          lw_dp01 = lwa_data-sdata.
          IF lw_dp01-pstyp = '9'.
            CLEAR create_idoc.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMETHO
    Thanks in advance.

    Hi all,
    Is there  any way that I can get the item category details when Only header level changes are made to the PO in ME22N and only header segments are available in the IDOC.
    Is this possible:- Fetch the po number and item category details from ekpo table that matches with  the header segment po number and then check for item category value  to clear the idoc creation?
    Any information is helpfull.
    Edited by: Selina.selk on Nov 20, 2009 1:39 PM
    Edited by: Selina.selk on Nov 20, 2009 2:49 PM

  • Why does the Error: 500 SC_INTERNAL_SERVER_ERROR appear when multiple users access my JSPs but does not occur when only one user accesses my JSPs?

    When multiple users run my JSP application, why do some users get an Error: 500 SC_INTERNAL_SERVER_ERROR for certain JSP pages with the error message No such file or directory. The JSP listed on the Error 500 page varies and is not always the same. When only one user runs my JSP application, the problem does not occur?
    The database connection is held when the user logs in or accesses certain parts of the JSP and then is immediately released. No connections to the database are held.
    We are using Solaris 8 with MU_6 plus recommended patches.
    Enterprise Ultra 250
    iAS 6 SP 3

    Is anything showing up in the KXS or KJS logs?
    It sounds like you might having some kind of thread safety issue with your code. Either that or your guess about running out of database connections.

  • No tabs are showing when only one window open. How do I open a new tab?

    Just upgraded to latest version. When only one window is open, no tabs show across the top. If I have two tabs open, both show across the top, but go to no tabs if I close one of them. And, the + sign is available for opening a third tab if at least two are open. The only way I can find to open a new tab when only one window is currently open is to turn off the menu, click the orange Firefox drop-down, and click New Tab. Why isn't it showing a tab, and a + tab (to open a new one) when only one tab (window) is open.

    Thanks everyone for the quick responses. Cntl + T works fine, and I did move the + window to the nav bar, which also works well.
    I had already gone into options and checked the box for always showing the tab bar, but it doesn't show it. I even unchecked it, saved the settings, the rechecked and saved the settings. Doesn't seems to make any difference.
    I'm okay with it not showing a tab when I only have one open, just so I can get to a new one easily when I want it.

  • Clear history hangs and takes quite a while to complete even when only one site is visited

    clear history hangs and takes quite a while to complete even when only one site is visited . While not a major problem it is annoying

    Hi Frank,
    Does this Release Management performance isssue occurred when you use it at first time? Do you have any setting on your TFS? Would you please tell us your TFS version? 
    If you have any repro steps, please share with us, thank you. 
    Best Regards,
    Dear Molly,
    Yes, this issue has occurred right from the beginning when we started using Release Management.
    Could you please clarify what you mean by "do you have any setting on your TFS"? As far as I know, our TFS installation is a straightforward and normal one.
    Our TFS version is TFS 2013.
    The steps to reproduce (in the simplest scenario) are as follows:
    Create a new project in Visual Studio 2013, containing one PowerShell script file. In the script file, perform a simple command such as "New-Item E:\Temp3 -itemtype directory -force".
    Perform a successful build of the project, making sure that the script file is copied to the drop folder.
    Create a vNext Component in the Release Management Client, that refers to the directory in the drop folder that contains the script file.
    Create a new vNext Release Template in the Release Management Client, containing one "Deploying using PS/DSC" action. In that action, set the PSScriptPath to the script file we created.
    Perform a new Release using the Release Template we just created. The Deploy action will take a long time, even though the script itself takes less than a second to run.
    Please let me know if you need any more information.

  • HP Laserjet CP1025nw Color Printer - printer prints two copies when only one is requested.

    pcwizard (HP) requested that I try Foxit Reader 5.1 to see if the printer will print properly.  I used the same previous document and printed it with Foxit Reader 5.1.  The printer printed two copies when only one was requested as it had done in the past.  We still have a problem.
    I am using Windows 7 (64 bit) for OS.  I have experience the issue on two different computers.
    dslledyrt
    This question was solved.
    View Solution.

    Hi dslledyrt,
    Can you install the Basic Driver for the printer on one of the computers, and let me know if you still have this issue?
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=lj-90357-1&cc=us&dlc=en&lc=en&...=
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • Phone and my husbands iphone ring at the same time when only one of us is being called. How can I stop this from happening?

    Both my iphone and my husbands iphone ring at the same time when only one of us is being called. How can I stop this from happening?

    This post has already been answered. Why are you plugging your own site with an answer that has already been given? Not to mention that the information you are handing out is incorrect. There is no bug, there is no patch, and no one needs to delete any email addresses. If you take the time to read the posts with the correct answers, you will see that the solution is totally different than the erroneous one you have posted.
    GB

Maybe you are looking for

  • A view, function and TO_DATE causing an error.

    I have the following statement which calls a view, VW_DIST_RPT_WORK_LIST which in turn calls a function which returns either 'Null' or a date string e.g. '07 Oct 2003' as a VARCHAR2 (alias PROJECTED_DELIVERY_DATE). Statement: SELECT CUSTOMER_NAME, PR

  • Adding GIF images to a stand-alone program

    To add a GIF image to an applet one can use the "getImage" function defined in the applet class. How do i add an image to a stand-alone program in java when one doesn't extend the Applet class ( and so one doesn't have access to the "getImage" proced

  • Urgent!!!!Add a Horizontal Scroll Bar for Table Control

    Hi Experts, I want to have a Horizontal Scroll Bar on my Table control. I tried with few properties for the Table UI Element but not able to solve it. If any one who had already done this please help me out. Thanks in advance.. Regards, Kishore K

  • Unable to execute perl.exe in Oracle client from command prompt

    I am installing OUBI 2.3.2 version in windows 2008 server. For that I have installed Oracle Client 11.2.0.2 While installing Oracle Utilities Application Framework Application Server in command prompt i am getting the error Unable to find file  <Dir>

  • Playing CD's after Burning in Itunes 10

    I noticed that I cannot burn audio cd's which will play on my cd player after upgrading to Itunes X. They will play on my computer. Get info said the file was AIFF. I tried other CD's on the CD player and they played. Thanks in advance for any though