Why related objects with indirection are selected when deleting an object

myCompany object is related to one-to-many addresses through indirection.
Using uow.deleteObject(myCompany) shows that when commiting, before actually removing the object and its privately owned related objects, toplink select these related objects from database (SELECT FROM ...) . Why is it necessary to perform this latter operation ?
Thanks in advance for your reply,
Chris

This could be possible, but TopLink would also need to update its cache. In addition, there are a number of other things TopLink must do on each of the individual objects - such as search them for privately owned relations, delete ordering, firing any events and including them in changesets for cache synchronization and auditing purposes. There could be more, but they all require that TopLink find the privately owned objects before it attempts to delete them.
I will enter a feature request though so that this option can be configured, as it might improve performance for users who do not use other options mentioned above.
Best Regards,
Chris

Similar Messages

  • Why images taken with N79 are in yellow shade?

    Why images taken with N79 are having light yellow shade?..i have the settings as for flas mode as AUTO..can someone tell me why i am getting the images in yellow shade..but with good lightning i am able to get a good picture without yellow shades...

    I have the same issue on my own N79. It appears that it's an issue with the automatic white balance, and unfortunately the most recent firmware completely disregards the manual white balance settings. I have fine photos in natural light or particular kinds of artificial light, but in some scenarios it's never going to give a satisfactory result.
    Help I'm trapped in a sig factory.

  • Why some extra XML tags are created when viewed a XML in Adobe Illustrator with Esko plugin?

    We see some extra XML tags are created when viewing a XML in Adobe Illustrator with Esko plugin. Why these extra lines are created ?
    Screenshot of XML and XML viewed in AI below(the extra XML tags outlined in red):

    Hi Graffiti,
    Thanks so much for your resply.  I am happy to say that the problem has been fixed by my customer updating her version of Adobe Reader 9 to the latest version.  I had sent her a few suggestions on how to try to fix the problem including that one from info I had read on the forum etc.. and that was the solution that worked.  I am so relieved that I was able to fix the problem and to answer your question the blank pages were only graphics no text but they were the only pages that the graphics took up the whole page.  I thought that was strange and had her change a setting in preferences for printing large images a solution I read in the forum but it did not work.   

  • How to tell if multiple files are selected when they are opened in windows

    Hello, can someone help me, my question is how to tell if multiple file selections were made when they were opened (right-click->open). Through modifying the registry I already have my Java program start up when a file with specific extension is double-clicked.
    The problem is when multiple files are opened at the same time, an instance of java program is created and run for each of the selected files. Ideally I would like it so that only one instance of java program is run, regardless of the number of selections.
    When you try it with Microsoft media player or winamp for example, it seems that only one process is created and run (I don't see many processes spawning when I watch it using task manager). Maybe this is more of Windows issue rather than Java programming issue. Any help is appreciated.

    If anybody wants to know, this can be solved by either 1) using DDE 2) using DropTarget (from Windows) 3) make a light-weight EXE dispatcher (eg. in C), and use file to have IPC between the dispatcher (which gets the filepath for each of the selections) and the java program. There can be other methods of course. Using the second option is the simplest but it requires WinXP and higher. I implemented it using option 3.. the downside of this is there's a warning message pop up when trying to open many (>20?) files at the same time by Windows. However, option 1 'seems' to have the same limitation. Having a java program created each time for each of the selections seems to be too slow, for viable option.

  • Why is a new brush shape selected when I click a tool?

    This has bothered me for years. Its a problem that has plagued me and all my friends/family since Photoshop 5.5, when I was 11. Sometimes, I hear this problem breathing and salivating in my closet at night. It ate my brother, too, which was a horribly mean thing to do.
    But the craziest part is that it only happens once in a while. And when I finally make an action so I can hotkey back to reality on-the-fly, it eventually just stops occurring. No changes in setting or anything.
    Here's what happens:
    1. I use a brush tool. (Paintbrush, clone stamp, pencil, etc.)
    2. I use something else.
    3. I select that tool I was using.
    4. The brush has changed to some random stupid useless setting that noone in their right mind would ever use.
    That's it. I'll be clicking along happily, cloning over wrinkles with a soft round 20px brush. Then I'll go zoom into a spot. Then I click the clone tool, and WHAT DO YA' KNOW! It's decided that I need a 120 px textured semi-opaque sponge brush with 50 pixel jitter. I swear it laughs at me when this happens. Its like Photoshop is rickrolling me.
    So anyway, that's the backstory. Here's my question:
    Should I go on living?

    Well the four steps outlined above are really the entire issue. The rest is fluff. I have a congenital sarcasm condition.
    1. I use a brush tool. (Paintbrush, clone stamp, pencil, etc.)
    2. I use something else.
    3. I select that tool I was using.
    4. The brush has changed to some random stupid useless setting that noone in their right mind would ever use.
    In terms of literal action:
    B...click-drag...J...click-drag...S...alt-click...click-drag...B...::tear hair out, curse loudly, bellow such that atlas himself cowers, cry a little::
    Every time the issue crops up (unexpectedly and intermittently - while its been happening since the dawn of time, when Photoshop and Image-Ready were the only two programs on Noah's ark, its only come about once every four months or so) it happens to a different brush tool, and a different brush preset. However, once its decided which frankenbrush to use, it sticks to it with zealous, patriotic loyalty. I have noticed, though, that it tends towards those brushes that are only useful with Wacom equipment. (Drivers for which aren't installed on my machine.)
    The only way I've found to reliably produce the issue is to turn on my microphone and loudly proclaim, "what could possibly go wrong?" (No, I can't reproduce it at will. Sorry.)

  • Problem with clip area occurred when table content is transited

    Platform: JavaFX 1.2.1.
    Hi all
    <b>Preface</b>: I created my own table because the cell content should be not standart: buttons, progress bars, etc...and text as well.
    There is no standart decision for this and simple there is no table control in JavaFx as well :) (swing JTable in a SwingComponent wrap
    doesn't fix the problem - only combo box, check box, text box can be placed into a cell). So, I did the following: I created a sequence
    of instances of the Group class. Each instance represents one cell of the table. I put a rectangle (Rectangle class) as a cell visualization
    and other controls(buttons, progress bars, text, etc. as a cell content) to each Group instance (cell). All cells in the sequence are located
    in rows and columns as in a usual table. and I put this sequence of cells to one common Group. The whole area of all rows and columns is large
    so I use the clip variable of the Group class (common Group) and two scrollbars (vertical and horizontal) to transit the rows and
    columns. It's simple thing as in a usual table.
    <b>Problem description</b>: when I transit a thumb of a scrollbar (whatever horizontal or vertical) part of each border cells appear out of common
    Group clip area, i.e. that part of each border cell (as on the left, rigth side of the clip area for horizontal scrollbar so as on the top, botton
    side of the clip area for vertical scrollbar) that should be disapeared is appeared over other GUI controls located near this table. I tried to
    use ClipView - the problem is reproduced as well. Screenshot here:
    Initial state:
    http://foto.nnov.ru/psh500/0/86/51/e1/4e/a0/ae/0bd8ef7ebf233614.png
    Screenshots with bugs:
    http://foto.nnov.ru/psh500/0/f8/1c/28/77/b5/79/f53bbc4fd8ba8158.png
    http://foto.nnov.ru/psh500/0/3a/95/c3/6c/0e/4f/9aff2e16a544bb37.png
    Help please.
    Thanks in advance!

    Code is simple. There are two classes: TableColumn.fx and Table.fx. And as an example of use: Main.fx
    * TableColumn.fx
    package mytabletest;
    import javafx.scene.Group;
    public class TableColumn {
        public var name: String;
        public var width: Number;
        public var rows: Group[];
    * Table.fx
    package mytabletest;
    import javafx.scene.CustomNode;
    import javafx.scene.Group;
    import javafx.scene.Node;
    import javafx.scene.control.ScrollBar;
    import javafx.scene.layout.LayoutInfo;
    import javafx.scene.shape.Rectangle;
    import javafx.scene.text.Text;
    import javafx.scene.text.TextOrigin;
    import javafx.scene.transform.Translate;
    import javafx.scene.paint.Color;
    public class Table extends CustomNode {
        // Table width
        public var width:Number;
        // Table height
        public var height:Number;
        // Table row hight
        public var rowHeight:Number = 25;
        // Space between two cells
        public var rowMargin:Number = 2;
        var tableContent : Group;
        // Columns
        var columns: TableColumn [];
        var scrollBarWidth: Number = 8;
        // Cliping area: visible active area of the table
        var clipWidth = bind width - scrollBarWidth;
        var clipHeight = bind height - scrollBarWidth;
        // Vertical scrollbar
        var vScrollBar: ScrollBar = ScrollBar {
            height: bind clipHeight
            clickToPosition: true
            min: 0
            max: 5
            vertical: true
        // Horizontal scrollbar
        var hScrollBar: ScrollBar = ScrollBar {
            width: bind clipWidth
            clickToPosition: true
            min: 0
            max: 3
            vertical: false
        // Scroll bars triggers to transit table content in X and Y coordinates
        var vScrollBarTrigger = bind vScrollBar.value on replace {
            (tableContent.content[0] as Group).translateY =
                - vScrollBar.value * (rowHeight + rowMargin);
        var hScrollBarTrigger = bind hScrollBar.value on replace {
            (tableContent.content[0] as Group).translateX =
                - hScrollBar.value * clipWidth / getNumOfColumns();
        public override function create():Node {
            return Group {
                content: [
                    // Scrollbars
                    Group {
                        translateX: bind clipWidth
                        content: [vScrollBar]
                    Group {
                        translateY: bind clipHeight
                        content: [hScrollBar]
                    tableContent = Group {
                        clip:
                            Rectangle {
                                width: clipWidth
                                height: clipHeight
                        content: [Group{}]
        * Calculates locations for the table columns
        function calcLocations(columns:TableColumn[], e:Integer) {
            var position : Number = 0;
            if (getNumOfColumns() > 0) {
                for (i in [0..e - 1]) {
                    position += columns.width;
    return position;
    * Adds row to the table
    * @param obj sequence of objects to be added to a new row
    public function addRow(obj: Group[]): Boolean {
    var cell: Group;
    var row = getNumOfRows() + 1;
    var isEven = row mod 2 == 0;
    for (column in columns){
    cell = Group {
    transforms: Translate.translate(
    calcLocations(columns, indexof column) + indexof column * rowMargin,
    ((rowHeight + rowMargin) * row))
    clip:
    Rectangle {
    width: column.width
    height: rowHeight
    content: bind [
    Rectangle {
    width: column.width
    height: rowHeight
    fill: Color.rgb(147, 0, 255)
    Group {
    content: [obj[indexof column]]
    layoutInfo: LayoutInfo {
    width : column.width
    height: rowHeight
    insert cell into column.rows;
    insert cell into (tableContent.content[0] as Group).content;
    return true;
    * Sets columns to the table.
    public function addColumn(name: String, width: Number): Void {
    // Check if the name is an empty string then column name will be the
    // following: "Column{i}" where i is a number of columns (zero based)
    var columnName : String = if(name == "") "Column{getNumOfColumns()}" else name;
    var column: TableColumn = TableColumn {
    name: columnName
    width: width
    //Add column head
    var cell: Group;
    cell = Group {
    var rec: Rectangle;
    transforms: Translate.translate(
    calcLocations(columns, getNumOfColumns()) + getNumOfColumns() * rowMargin, 0)
    clip:
    Rectangle {
    width: width
    height: rowHeight
    content: bind [
    rec = Rectangle {
    width: width
    height: rowHeight
    Group {
    var node : Node = Text {
    textOrigin: TextOrigin.TOP
    content: columnName
    transforms: bind
    Translate.translate(width / 2 - node.boundsInLocal.width / 2,
    rowHeight / 2 - node.boundsInLocal.height / 2 + 2)
    content: [node]
    insert cell into column.rows;
    insert cell into (tableContent.content[0] as Group).content;
    insert column into columns;
    * Returns number of rows
    public function getNumOfRows(): Integer {
    if(sizeof columns > 0) {
    return sizeof columns[0].rows - 1; // The first cell is a column title
    else {
    return 0;
    * Returns number of columns
    public function getNumOfColumns(): Integer {
    return sizeof columns;
    * Main.fx
    package mytabletest;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.Group;
    * @author Naight
    var table : Table = Table {
    translateX: 100
    translateY: 100
    width: 200
    height: 200
    Stage {
    title: "Application title"
    width: 400
    height: 400
    scene: Scene {
    content: [table]
    table.addColumn("Column1", 100);
    table.addColumn("Column2", 100);
    table.addColumn("Column3", 100);
    for(i in [0..9])
    table.addRow([Group{}, Group{}, Group{}]);

  • Narrowing Tax Area Selection when Creating or Changing IT0207

    Our issue is with Pennsylvania locals in particular. We are trying to narrow the selections that appear in the drop down based on the zip code on IT0006. I made changes to T5UTF but these changes are not reflected in the drop down screen.
    Any suggestion are greatly appreciated.
    Thanks

    Hi,
    When you IT0006 record created and try to create an IT 207 record, the system will restrict tax area's list based on the State/Zip Code in IT 0006(subty 1). But on the infotype screen of IT 207 , you are able to view all 'tax area' list without restrictions.
    This is the standard design of the system
    With Regards,
    S.Karthik

  • Why does mirroring with airplay always stop when streaming videos?

    When streaming video from my iPad2 to AppleYV using mirroring, the video is always stopping to buffer. How can I fix that?

    When streaming video from my iPad2 to AppleYV using mirroring, the video is always stopping to buffer. How can I fix that?

  • Console errors "Verification failed with 1 errors" and when Deleting Overrides

    Hi Guys,
    When trying to delete an override for a unix server I was prompted with this error:
    Note:  The following information was gathered when the operation was attempted.  The information may appear cryptic but provides context for the error.  The application will continue to run.
    : Verification failed with 3 errors:
    Error 1:
    Found error in 1|XXXXX.XX.Unix.Management.Pack|1.0.0.0|DisplayString,ElementReference=a27e1d14-8ad4-56fb-da46-0c0994054e92,LanguageID=ENA|| with message:
    Element Info with Identity DisplayString,ElementReference=a27e1d14-8ad4-56fb-da46-0c0994054e92,LanguageID=ENA refers to an invalid sub element Filter.
    Error 2:
    Found error in 1|XXXXX.XX.Unix.Management.Pack|1.0.0.0|DisplayString,ElementReference=ef78d342-5a82-d629-224d-2e476003f6e1,LanguageID=ENA|| with message:
    Element Info with Identity DisplayString,ElementReference=ef78d342-5a82-d629-224d-2e476003f6e1,LanguageID=ENA refers to an invalid sub element Filter.
    Error 3:
    Found error in 1|XXXXX.XX.Unix.Management.Pack|1.0.0.0|DisplayString,ElementReference=06522f67-c195-2dfa-c310-a0134b961fc4,LanguageID=ENA|| with message:
    Element Info with Identity DisplayString,ElementReference=06522f67-c195-2dfa-c310-a0134b961fc4,LanguageID=ENA refers to an invalid sub element Filter.
    : Element Info with Identity DisplayString,ElementReference=a27e1d14-8ad4-56fb-da46-0c0994054e92,LanguageID=ENA refers to an invalid sub element Filter.
    I then exported the MP and manually deleted the Override but when I try to import it I get the same error.
    I have also checked a couple of other unsealed MP and some are also affected.
    I have gone through the MP XML can find no matches for any of the references. Is there a way (powershell or SQL query) where i can identify what these references are or how I should proceed to troubleshoot this issue?
    Cheers,
    Martin
    Blog:
    http://sustaslog.wordpress.com 
    LinkedIn:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    Hi Yan,
    That was my understanding about the error also but there are no entries for:
    ef78d342-5a82-d629-224d-2e476003f6e1
    a27e1d14-8ad4-56fb-da46-0c0994054e92
    06522f67-c195-2dfa-c310-a0134b961fc4
    in the management pack at all.
    What also is curious is that the errors refer to "LanguageID=ENA"
    but the only language code present inside the management pack is ENU. 
    The fact that there is no ENA language pack and that there are no references matched leads me to believe
    that this issue is not due to this MP its references in another.
    </LanguagePack>
    <LanguagePack ID="ENU" IsDefault="false">
    <DisplayStrings>
    There are also about 14 reference management packs this MP uses and those MP would also have a handful each which makes it difficult to troubleshoot. 
    Unfortunately deleting the MP isn't an option as there is a significant amount of configuration saved in it.
    Any ideas on how I could identify theses references?
    Cheers,
    Martin
    Blog:
    http://sustaslog.wordpress.com 
    LinkedIn:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Prevent the next message from being automatically selected when deleting?

    The information on this page (Mail (Yosemite): Delete messages) doesn't work for me:
    "Tip: To prevent the next message from being automatically selected (and marked as read), hold down the Option key when you delete a message."
    The next message still opens up.
    Anyone know what to do here?

    Hi,
    not sure where to find original post. In RDB, it is MSP_EpmTask_UserView.TaskClientUniqueId.
    Sorry, if there are now 2 answers.
    Regards
    Barbara
    To increase the value of this forum, please mark the replies that helped to solve your issue as answer. If you find answers to questions from other forum participants to be helpful, please mark them as helpful. Your participation will help others to find
    an appropriate solution faster. Thanks for your support!

  • Why will bookmarks with unblued-in stars not delete (eg Ebay pages)?

    When I go to a bookmarked page, I notice that the star on the address line is either all blue, or (as this page I write on) only blue in outline. I have discovered that the blue stars will allow the bookmark to be deleted - but the blue outline stars turn blue on one click, then allow the deleting mechanism to appear, but when you follow this through, the bookmark remains. Question being - how do I delete bookmarks with the outline blue star?

    Ok Guys and gals, Here is a CLUE ! I have the same problem as listed above. Here is the clue, but I don't know how it figures into the scheme of things.
    I have 2 users set up for my vista OS. The admin user, Fire fox 6.02 works fine. The second user is my name and its fire fox 6.02 is screwed up. I can load Gmail, yahoo, Boost mobile and others in the second user login. But if I log in as Administrator the Fire fox is fine. Fast, clean and stable.
    So Some how my settings in the user #2 is or has corrupted and or changed ! I didnt do it, Firefox somehow changed the settings or became corrupt in my #2 user login account using Firefox 6.02.
    Now I have tried to use a new user in fire fox and that did not fix firefox for user #2 on Vista.
    I also disabled AD BLOCKER and that didnt help either.
    SO my only observation is that the VISTA user #2 account utilizing FireFox 6.02 has changed some how and won't load web pages properly.
    Vista User account #1 Fire fox works Fine...
    Any idea? how to get user accounts FireFox 6.02 to work properly ?

  • Change default selection when deleting a podcast

    Whenever I delete a podcast, I get the warning message, which is good. But the default choice is to keep the selection in my music folder. I'd like the default to be moving the selection to the trash. How do I change that?

    You can't.
    Mac OS Human Interface programming guidleines calls for non-destructive behavior for default buttons, ie. pressing Return will not delete anything.

  • How Many Objects Are Selected

    How can I tell how many objects are selected when I draw a selection marque around multiple objects?

    Open the Document Info Palette.
    Find its secret little flyout menu.
    Select from that menu "Objects".
    Let go.
    Then go to that same menu all over again and select "Selection Only".
    Scroll through the list and sum the quantities shown. Except be careful not to include the count of "All Text Objects" with the counts of "Point Type Objects", "Area Type Objects", and "Type On A Path Objects".
    Repeat those steps every time you start a new work session in AI, because AI's palettes can't remember the way you set them between launches.
    How could you have overlooked that intuitive and straightforward routine?
    JET

  • Seing how many objects are selected.

    Hi! I'm having a problem seing how many objects are selected when I navigate in Finder's windows. In Snow Leopard, there used to be a grey bar at the bottom telling you these infos, but this seems to be gone in Lion. Anyone knows how to get it back?
    Thank you!

    Open the Document Info Palette.
    Find its secret little flyout menu.
    Select from that menu "Objects".
    Let go.
    Then go to that same menu all over again and select "Selection Only".
    Scroll through the list and sum the quantities shown. Except be careful not to include the count of "All Text Objects" with the counts of "Point Type Objects", "Area Type Objects", and "Type On A Path Objects".
    Repeat those steps every time you start a new work session in AI, because AI's palettes can't remember the way you set them between launches.
    How could you have overlooked that intuitive and straightforward routine?
    JET

  • Reports with prompting stop working when moved from Crystal10 to crystal 11

    Issue:
    We are having trouble with Crystal Reports XI. It appears that the Crystal 10 runtime included the ability to process reports that used prompting. If we run the same report with the Crystal XI runtime, it fails.
    I can send a sample of the report.
    Error Dialog:
    Title: Internet Explorer Script Error
    Error Details:
    An error has occurred in the script on this page
    Line: 1
    Char: 1
    Error: invalid character
    Code: 0
    URL: file: /// C:/Program%20Files/Business%20Objects/3.0/crystalreportsviewers11/prompting/js/promptengine_strings_en.js
    Do you want to continue running scripts on this page?
    Yes/No
    Our Configuration:
    We use Merge Modules that install Crystal Reports through the browser via a CAB file that we created. It runs a setup executable
    The setup executable project that installs CR XI uses the following Merge Modules:
    CrystalReports11_RDC_Reportengine.msm
    CrystalReports11_RDC_Runtime.msm
    CrystalReports11_HotFix_Merge.msm (This is contrived by us from one of your hot fixes)
    Observation:
    When the install is finished, the folder structure under u2026. Crystalviewers11/prompting do not have any files like they do if we install the development environment.
    Question:
    What do we need to do to correct this situation?
    *why the reports with*
    *prompting stops working when it is moved from a Crystal 10 to Crystal 11*
    *environment.  I believe that it has something to do with Merge Modules*
    *because the files under the prompting folder do not populate with the*
    *merge module like they do with the full install of Crystal Reports.*
    Please help.
    Best Regards,
    Peter Freeman
    Edited by: Vivek Kumar Sharma on May 19, 2009 3:43 PM

    We have JDK 1.6 installed.  The License Merge Module is not related to
    this issue.
    The files under \Program Files\Common Files\Business
    Objects\3.0\crystalreportviewers11\prompting  are not being installed.
    If we copy files, into this folder structure the reports work.
    One of the Business Object's Merge Modules should install the files
    there rather than just an empty folder structure.
    I got was able to figure out how to enter a customer support message.
    They said that they could not support us because we were not on CRXIR2
    (Crystal Reports 11 Release 2).
    I found a download for CRXIR2SP4 (same thing service pack 4).
    I installed it the Merge Module names changed to include a "_5"
    Was:
    CrystalReports11_RDC_Reportengine.msm
    CrystalReports11_RDC_Runtime.msm
    CrystalReports11_HotFix_Merge.msm (This is contrived by us from one of
    your hot fixes)
    Now:
    CrystalReports11_5_RDC_Reportengine.msm
    CrystalReports11_5_RDC_Runtime.msm
    CrystalReports11_5_RDC_License.msm (should have been included)
    *CrystalReports11_HotFix_Merge.msm (not needed anymore)
    I will try to put a installer together with these.  If this work there
    will be some complexity around uninstalling the old one and installing
    the new one.

Maybe you are looking for