Force version of parent to be updated

The UnitOfWork has a method, forceUpdateToVersionField, that's used to perform the task. I was wondering whether there is global setting or API that I can use so that all my domain objects will have this behavior. That way I don't have to issue uow.forceUpdateToVersionField(obj, true) for all my root objects inside uow.
I appreciate your information.
Haiwei

Thanks SebTardif for your response. It is helpful.
Currently this application uses TopLink 9.0.4.4. They will need to upgrade to TopLink 10.1.3.x to use the feature.
For now, I'd still need a workaround solution. Could someone comment on the following approach:
public class Employee {
    // domain object methods
    public void handlePostDelete(DescriptorEvent event) {
        // handler implementation
        oracle.toplink.publicinterface.UnitOfWork uow = (oracle.toplink.publicinterface.UnitOfWork)event.getSession();
        uow.forceUpdateToVersionField(this, true);
}It seems to work fine in my local testing.
I greatly appreciate your responses.
Haiwei

Similar Messages

  • TS1702 I am updating my IPAD to version 5.1 and the update has stopped before completion. What is the procedure. If I stop the update or restart the IPAD will the update be corrupted and also the IPAD operating system.

    I am updating a new IPAD to the latest version from ITUNES. The update is not complete and has stopped. What  is the procedure to restart? If I close ITUNES i get a message that the IPAD is updating. Will closing the application cause the update to be corrupted and thus the operating system? Will the same occur if I power the IPAD down or disconnect it vis the USB port?
    Help!!!

    routnom wrote:
    AppleWill - when i closed the app and restarted Itunes, I had to go thru a Restore process. The restore goes to certain point and stops. It seems at the same time as the Update stopped. I can Force a stop and reboot the computer and try again. It possible the screensaver interrupted the restore? It doesn't sound right. Any suggestions?
    You may also want to go to:
    ~/Library/iTunes/
    This is done by  going to the "Go" in the Finder and select Go To Folder. Copy and paste:
    ~/Library/iTunes/
    In to Go To Folder selection. Look for a folder called iPad Software Updates. Delete anything in that folder and re download the upadate.

  • [SLVD] force using /usr/lib/xorg/modules/updates/extensions/libglx.so

    Latest versions of catalyst bring powerXpress support - it means that we can now switch between discreet AMD gfx driver and integrated intel gfx driver (and maybe also switch between catalyst and ati oss driver).
    I'm working on it now, unfortunatelly it's not that easy to implement in a right way in Arch. There's no way without doing some ugly tricks (like creating /usr/X11R6 dir). Although i must say that i almost succeeded.
    Yes, i know that /usr/X11R6/lib is obsolete and not supported by Arch, but i must to place catalyst's libGL.so somewhere so it wouldn't conflict with libgl's libGL.so (+ more important is to be able to update libgl package without problems), and that directory is looking good.
    Basically this whole powerXpress suport = linking libGL and libglx libraries into right place. Let me show you some functions:
    switching libGL:
    function switch_to_amd() {
    ln -snf /usr/X11R6/lib/fglrx/fglrx-libGL.so.1.2 \
    /usr/X11R6/lib/libGL.so.1.2
    ln -snf libGL.so.1.2 /usr/X11R6/lib/libGL.so.1
    ln -snf libGL.so.1 /usr/X11R6/lib/libGL.so
    ldconfig /usr/X11R6/lib
    function switch_to_intel() {
    ln -snf /usr/lib/libGL.so.1.2 \
    /usr/X11R6/lib/libGL.so.1.2
    ln -snf libGL.so.1.2 /usr/X11R6/lib/libGL.so.1
    ln -snf libGL.so.1 /usr/X11R6/lib/libGL.so
    ldconfig /usr/X11R6/lib
    switching libglx:
    function switch_to_amd() {
    ln -snf /usr/lib/xorg/modules/updates/extensions/fglrx/fglrx-libglx.so \
    /usr/lib/xorg/modules/updates/extensions/libglx.so
    function switch_to_intel() {
    ln -snf /usr/lib/xorg/modules/extensions/libglx.so \
    /usr/lib/xorg/modules/updates/extensions/libglx.so
    I've created /etc/ld.so.conf.d/catalyst.conf with:
    /usr/X11R6/lib
    inside. I've also added /usr/X11R6/lib into PATH in /etc/profile in 1st place (just in case).
    And it's working fine (i mean catalyst is working fine) untill i will install libgl (so it's not fine)... After restart, when running X server screen goes blank and i cannot do anything (even when it's switched to amd). /var/log/Xorg.0.log looks fine, no errors, it's longer than usuall with those lines:
    [ 2515.883] (II) Power Button: Close
    [ 2515.883] (II) UnloadModule: "evdev"
    [ 2515.883] (II) Unloading evdev
    [ 2515.895] (II) Power Button: Close
    [ 2515.895] (II) UnloadModule: "evdev"
    [ 2515.895] (II) Unloading evdev
    [ 2515.911] (II) My keyboard: Close
    [ 2515.911] (II) UnloadModule: "evdev"
    [ 2515.911] (II) Unloading evdev
    [ 2515.926] (II) My keyboard: Close
    [ 2515.926] (II) UnloadModule: "evdev"
    [ 2515.926] (II) Unloading evdev
    [ 2515.942] (II) My Mouse: Close
    [ 2515.942] (II) UnloadModule: "evdev"
    [ 2515.942] (II) Unloading evdev
    [ 2515.947] (II) fglrx(0): Shutdown CMMQS
    [ 2515.948] (II) fglrx(0): [uki] removed 1 reserved context for kernel
    [ 2515.948] (II) fglrx(0): [uki] unmapping 8192 bytes of SAREA 0x2000 at 0x7fdc4f862000
    [ 2515.962] (II) fglrx(0): Interrupt handler Shutdown.
    but it doesn't look relevant.
    I don't know is it:
    - /usr/X11R6/lib that is chosen after /usr/lib
    - OR /usr/lib/xorg/modules/updates/extensions/ that is chosen after /usr/lib/xorg/modules/extensions/  - i though that updates should be taken in 1st place by default
    Maybe both of them?
    Right now i'm thinking that this is the problem of /usr/X11R6/lib that need to be taken before /usr/lib, so my question is same as the question in topic of this post.
    I will really appreciate any help.
    Btw: there's only one file in /usr/X11R6/lib : /usr/X11R6/lib/fglrx/fglrx-libGL.so.1.2
    + there's only one file in /usr/lib/xorg/modules/updates/extensions : /usr/lib/xorg/modules/updates/extensions/fglrx/fglrx-libglx.so
    I took this whole solution and scripts from SUSE (AMD's solution is really ugly). SUSE also doesn't like /usr/X11R6/lib, but they used it and there it seems to work. I mean i don't have SUSE, i just see their catalyst packaging script.
    Last edited by Vi0L0 (2011-05-15 10:02:32)

    Lone_Wolf wrote:
    've installed libgl, then removed /usr/lib/libGL.so* and problem persist. Then i reinstalled libgl, and removed /usr/lib/xorg/modules/extensions/libglx.so - it was working fine...
    This may be because of  a fallback option that if libglx.so is not found , xorg uses libglx.xorg .
    But libglx.so owned by catalyst (/usr/lib/xorg/modules/updates/extensions/libglx.so) should be found, and is found if only libglx.so owned by libgl (/usr/lib/xorg/modules/extensions/libglx.so) is not present. And if the last one is absent i can see in Xorg.0.log that xserver/catalyst is using that one placed in updates dir, not libglx.xorg.
    Now i removed libgl, and removed /usr/lib/xorg/modules/updates/extensions/libglx.so, so catalyst should got troubles, restart X and same problem: blank screen with only one char sign on top left corner: _
    So obviously catalyst need that /usr/lib/xorg/modules/updates/extensions/libglx.so
    I just don't know how to force using /usr/lib/xorg/modules/updates/extensions directory over /usr/lib/xorg/modules/extensions dir...
    Maybe i need something like LD_PRELOAD or something.
    This maybe not clear but what i'm trying to reach right now is to get catalyst working when libgl package is present, cuz it's looking like good begining.
    Lone_Wolf wrote:It does look like xorg doesn't entirely folllow ldconfig / symbolic links , so i'm inclined to suggest to keep things as simple as possible and change only what's really necessary .
    Ofcourse, i also don't like this whole /usr/X11R6/lib thing. Hell no, i even don't got intel gfx , i'm only trying to implement something that can be usefull for others.
    And since SUSE know how to use /usr/lib/xorg/modules/updates/extensions directory over /usr/lib/xorg/modules/extensions i'm sure it's also possible in Arch. Maybe the right and only way is to change something in xserver compilation, i don't know. Right now i'm trying to do this in "easier" way.
    Lone_Wolf wrote:
    As your libraries have different names as the mesa ones :
    place fglrx-libGL.so.1.2 in /usr/lib
    put fglrx-libglx.so in /usr/lib/xorg/modules/extensions
    for libgl only change the symbolic link just above the binary :  /usr/lib/libGL.so.1
    for libglx change /usr/lib/xorg/modules/extensions/libglx.so
    That ofcourse should work - since it will link to proper libs.
    But it's not what i'm trying to reach : catalyst and libgl installed without conflicts.
    Lone_Wolf wrote:If that works, you'll atleast know the switch is possible.
    Just a mention: this whole linking thing isn't anything new, it was used by linux users for long time so such switch is possible (as i can see they used to use such linking as you suggested but imho it's bad way - it should to be done without pacman's conflicts), now ati is just trying to implement it by default.
    This powerXpress support is still in developement, although i can see what way ati picked up, i'm trying to follow it and i'm pretty sure that it will work if i will follow it. The sooner - the better.

  • I'm trying to update my iphone 3GS to the 4.3.4 version and I am getting the error message "This version of itunes (version 9.1.1) is the current version.  How do I update my PHONE and why is an itunes update being confused for my iphone?

    I'm trying to update my iphone 3GS to the 4.3.4 version and I am getting the error message "This version of itunes (version 9.1.1) is the current version.  How do I update my PHONE and why is an itunes update being confused for my iphone?

    You need iTunes 10.0 or greater to update your phone...iTunes isn't confused at all. If you're on a Mac, you'll need OS X 10.5.8 or greater to update iTunes to 10.0 or greater.

  • My original iPad still shows iOS 5.1.1 as the current version with no opportunity to update.

    My original iPad still shows iOS 5.1.1 as the current version with no opportunity to update.

    No IOS 6 for Original iPad.

  • PlayReady failure with specific OS version of Windows 8.1 Update

    Hello,
    I'm observing a failure in my app during Smooth Streaming video playback using PlayReady DRM. The app is a WinJS Universal App solution for Windows Store and Windows Phone, using the latest updates for Visual Studio 2013, Update 4.
    So far, the failure is limited to one specific version of the Windows 8.1 Update. I have two identical devices, both retail versions of the phone, that demonstrate this issue. Note, these same phones that fail with PlayReady can successfully
    stream unprotected Smooth Streaming content.
    My other five Windows Phone devices, with different OS version numbers, do not demonstrate the failure with the identical app installed. Therefore, I suspect the OS version may be the cause.
    Failure description:
    When I attempt to stream PlayReady protected Smooth Streaming video, the player initializes the media player and the MediaProtectionManager, but then displays the error state (The video failed to play. Try again.) immediately, and the following message is
    displayed in Visual Studio:
    MEDIA12899: AUDIO/VIDEO: Unknown MIME type.
    --- Message: MEDIA_ERR_SRC_NOT_SUPPORTED (0x887A0004)
    Summary of tested OS versions:
    Windows Phone 8.1 Update
    8.10.14141.167, untested
    8.10.14147.180, untested
    8.10.14157.200, untested
    8.10.14176.243, NOKIA Lumia 830, fails to stream, tested with two devices
    8.10.14192.280, untested
    8.10.14203.206, HTC HTC6995LVW, streams successfully
    8.10.14219.341, NOKIA Lumia 920, streams successfully
    8.10.14226.359, BLU WIN HD W510u, streams successfully
    Windows Phone 8.1
    8.10.12359.845, untested
    8.10.12382.878, untested
    8.10.12393.890, NOKIA Lumia 920, streams successfully
    8.10.12397.895, untested
    8.10.12400.899, NOKIA Lumia 530, streams successfully
    Note, one of OS versions I've tested fails to stream the PlayReady protected Smooth Streaming content, and five other OS versions I've tested successfully stream the same video content.
    Is this a known issue with a specific version(s) of Windows Phone 8.1?
    Regards,
    Andrew

    Hello,
    0x887A0004 equates to DXGI_ERROR_UNSUPPORTED. This error is usually generated when you are trying to use Direct3D features that are not supported. Different devices support different D3D features since they contain different video hardware. It is possible
    that a hardware feature that is required by the license is not supported in the hardware / driver of the device. I would recommend that you check the license and make sure that it does not contain any hardware specific requirements such as HDCP.
    In other words try playing content with the least restrictive license and see if it works for you.
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • I am using Iphone 3gs. Last week I updated my itunes to latest version, although I couldnt not update my iphone OS since the download fails saying error 9006. For last 2 days all my Iphone applications fail to open except the default ones. Any solutions?

    I am using Iphone 3gs. Last week I updated my itunes to latest version, although I couldnt not update my iphone OS since the download fails saying error 9006. For last 2 days all my Iphone applications fail to open except the default ones. Any solutions?

    Download a free app and try again, you can delete the free app afterward.

  • After Effects CC version 12.0 is not updating to version 12.1

    Hello:
    After Effects CC version 12.0 is not updating to version 12.1 on my iMac running Mac OS X 10.7.5.
    Adobe Creative Cloud desktop version 1.2.0.248 shows that After Effects CC is "Up to date" in the Apps tab; however, it is still version 12.0.
    I've tried signing out and signing back in to see the same result.
    I've also tried choosing Help > Updates from within After Effects CC 12.0.0.404; however, when Adobe Application Manager loads, it indicates that "Your applications are all up-to-date as checked: less than a minute ago." under the Updates screen.
    Also, SpeedGrade CC, Premiere Pro CC, Adobe Media Encoder CC and Prelude CC all show "Up to date" as well while each those applications all have an update as well.
    Any suggestions on how to proceed such that After Effects CC will update to version 12.1 are greatly appreciated.
    -Warren

    Hello Ashish:
    Thank you for your input.
    That link is for After Effects version 12.0.1.  I'm looking to update to version 12.1.
    Since I'm running 12.0.0.404 I tried your link; however, I receive the following message from Adobe Applicatoin Manager:
    This patch is not applicable for you.  Please check for updated from the Help menu in your prodcut to see a list of latest updates available.
    I've also tried the following update:
    Adobe After Effects CC (12.1) update
    http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=5682&fileID=5693
    This downloads the following file:
    AfterEffects_CC_12_1_upd.dmg
    However, when I run this installer, I get the same message:
    This patch is not applicable for you.  Please check for updated from the Help menu in your prodcut to see a list of latest updates available.
    I'm not sure how to proceed to get to the current versions of After Effects, Premiere Pro, Prelude and Speed Grade.
    Any suggestions are greatly appreciated.
    -Warren

  • TS1717 I get the following error message after installing the latest version of itunes via auto update:  "the itunes Library file cannot be saved. An unknown error occurred (-54). Has anyone ever seen this message and anyone have a suggestion what to do?

    I get the following error message after installing the latest version of itunes via auto update:  "the itunes Library file cannot be saved. An unknown error occurred (-54). Has anyone ever seen this message and anyone have a suggestion what to do?

    Hi pholewinski!
    I have a couple of articles for you here that I believe will help you with this issue. The first is an article on advanced troubleshooting, and it can be found here:
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    If following that article's steps doesn't take care of the issue, you can try the things listed in this article, which is about permissions issues in iTunes:
    iTunes: Missing folder or incorrect permissions may prevent authorization
    http://support.apple.com/kb/TS1277
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • HT4623 i need to update my iphone 3g 16GB present version 3.1.2 to update new version how i can update

    i need to update my iphone 3g 16GB present version 3.1.2  to update new version how can i update

    Turn on computer.
    Open itunes.
    Connect iphone.
    That's it.  it will prompt you ot update

  • Released Version: NI 5640R Installer; Please update

    Released Version: NI 5640R Installer; Please update!
    The software for the NI PCI-54640R IF-RIO is now released.  Before asking about any issues in programming the NI 5640R, please upgrade to the released version.  This will also make it easier to look at example code if there is an issue.
    Please download the new installer file (“ni-5640r100rc1.zip”) from the following location:
    http://digital.ni.com/softlib.nsf/websearch/199D73629DD50CDB86257116005160B6?opendocument&node=13206...
    1. Remove your NI 5640R modules from the computer.
    2. Un-install the version of NI 5640R currently on the computer.
    3. At this time, it is recommended to un-install pre-release versions of LabVIEW 8.0, LabVIEW FPGA 8.0, and NI-RIO 2.0 and re-install the released versions.
    4. Install the released version of the NI 5640R software.
    5. Re-install the NI 5640R module.
    Note:  This new version of the driver handles the NI 5640R VIs differently from previous versions.  Previous to version B5, different projects would use common NI 5640R VIs that were saved in the LabVIEW/instr.lib directory.  This method prevents multiple projects from being open due to the Bind to Typedef option on the FPGA Target VI.
    The new method saves copies of all NI 5640R VIs to a directory in the project.  This allows different projects, with different typedefs to use the same VIs at the same time.
    This will result in projects saved in the previous method from not finding the NI 5640R VIs.  The easiest method to convert to the new method is to resave the NI 5640R Template example directory, and copy the changes from the previous VIs to the new VI.  Ensure that you use the NI 5640R VIs that are part of the new project.

    A new version of NI-RIO for Real-Time OS/Windows 2000/XP has released.
    If installing the ni5640r software for the first time, please install NI-RIO Version 2.1 before installing the ni5640r software.
    If you are re-installing the ni5640r software and you have NI-RIO 2.0 installed, please uninstall both the ni5640r software and NI-RIO version 2.0.  Then install NI-RIO version 2.1, followed by the ni5640r software version 1.0.
    Note: Updating NI-RIO from version 2.0 to 2.1 is a recommendation, it is not required.  If you are already reinstalling the ni5640r software, it is a good time to keep up to date with the latest released drivers.
    The current version of the NI-RIO driver (2.1) can be downloaded from this location:
    http://digital.ni.com/softlib.nsf/websearch/8FBECA88CF87D34F862571C600566283?opendocument&node=13206...

  • HT1557 OS X 10.5.8 (which is an OS X version also no longer being updated by Apple). Is this true? if yes, why is that?

    I have Mac OS X 10.5.8 instslled on my my iMac and I've got this message using chrome...
    Chrome no longer supports Mac OS X 10.5
    Google Chrome on Mac OS X 10.5 (Leopard) will stop receiving any updates following Chrome 21. This includes new features, security fixes and stability updates. If you’re not sure what OS version you’re on, go to the Apple icon on the top left corner and click About This Mac to find out. If you already have Chrome installed, you can still use Chrome, but it will no longer be auto-updated. In addition, you’ll be unable to install Chrome on any Mac still running 10.5 (which is an OS X version also no longer being updated by Apple). While we understand this is an inconvenience, we are making this change to ensure we can continue to deliver a safe, secure, and stable Chrome for the most Mac users possible.

    My brother finally realized his 2006 iMac was no longer supported and that security updates are more important than ever.  There was one patch to help with the recent flash-based <?> malware for those systems running 10.5.8
    Lion though allows you, if you buy Parallels 7 and have Snow Leopard (there is a $69 flash memory OS with both from Apple) you can run 10.6.8 as a guest OS VM under Lion - if you have the resources to do so to run "reasonably" well.
    Seeing how the iMac has not been updated for many many months and due for a refresh, and there is Mountain Lion on the near horizon -
    In the meantime, the latest Chrome did include a lot of security patches (scares me that we think we are safe and secure and they are open about it, but not sure if my trust is warranted). FF 13.x still supporting you?
    Is your Mac eligible for 10.8? then of course maybe time to get ready -Lion dropped Rosetta and therefore support for older PowerPC code base. So you might have some housecleaning and updates that are needed.
    http://roaringapps.com/
    And to find other iMac users... you might want to go here: (and maybe we can get this moved)
    https://discussions.apple.com/community/desktop_computers/imac_intel

  • Can I revert back to an older version of iphoto after having updated my iphoto?

    can I revert back to an older version of iphoto after having updated my iphoto?

    Not unless you saved a copy of the old iPhoto Library. Otherwise, you can't go back.

  • GarageBand error after data transfer that states "This song requires a newer version of GarageBand. Please update to the latest version of GarageBand before opening this song". Please Help!

    I recently had a data transfer from my older mac to my newer one. After the transfer I logged into my new account and opened up my GarageBand. It worked perfectly fine, however when I logged into my old account with all my older data that I just transferred over, I could not open my GarageBand files and there is an error that states "GarageBand error after data transfer that states "This song requires a newer version of GarageBand. Please update to the latest version of GarageBand before opening this song".If anyone could please help me with this issue, I'd greatly appreciate it. Thank You!

    When you transferred your data from your old mac, you may have accidentally transferred an older GarageBand version and either overwritten your newer version, or your old account still has the old GarageBand icon in the Dock.
    Search with SpotLight, if you have more than one Garageband version on your new Mac (type "GarageBand" into the SpotLight search field). Does it list more than one GarageBand version? Then delete the older GarageBand.app.
    What GarageBand version have you been using at your old mac, and what is the version on your new mac? If it has been bought recently, it should have come with GarageBand '11.
    Regards
    Léonie

  • CC keeps prompting me to upgrade to a new version, even after I click "update"

    CC keeps prompting me to upgrade to a new version, even after I click "update"

    Stevekimplatt please try creating a new administrator account and apply the update there to see if you experience the same behavior.  If so then it is likely the permissions under your current User account have become compromised.  Also which operating system are you using?

Maybe you are looking for