Batch reading won't work in 1:M relationships

Hi all,
I have two CMP 2.0 beans which are mapped with
as 1:M relationships. In parent's child collection
I set batch reading. When I issue parent.getChildren(),
toplink issue as many select statement as the no. of
children associated like
SELECT * FROM CHILD WHERE CHILD.CHILD_ID = 'child_id';
instead of
SELECT * FROM CHILD WHERE CHILD.PARENT_ID = 'parent_id';
Is there anything wrong in my mapping?

Yes, sounds like something isn't mapped properly, and this could explain the issue you've posted in another thread too.
- Don

Similar Messages

  • Adobe Reader won't work

    Hello
    I use Windows 7 (64 bit). I've spent a couple of days trying to get Adobe Reader to work. I need version 9.5 or higher in order to fill out an important tax document. When I click on the icon the program will come up for a few seconds and then it disappears by itself. I have repeatedly removed both adobe reader as well as acrobat using both the adober clean up program as well as the windows uninstall program. I have tried re downloading all 3 versions. The same problem continues to happen. I desparately need to find a solution. Thanks.

    Hi again
    I'm afraid I'm not going to be able to help much - even though I feel like
    I've just finished an intensive adobe seminar. So, that said - I'm stuck
    again. Thanks to you I got Adobe Reader 11 loaded and was able to fill out
    and save the tax form as a pdf file. When I get into the the site to file
    the form though I get the following page when I try to open the saved form:
    Please wait...
    If this message is not eventually replaced by the proper contents of the
    document, your PDF
    viewer may not be able to display this type of document.
    You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or
    Linux® by
    visiting http://www.adobe.com/go/reader_download.
    For more assistance with Adobe Reader visit
    http://www.adobe.com/go/acrreader.
    So - I'm sort of back to square one - and, I have until midnight est to get
    it figured out. Do you have any ideas?
    Take care,
    Tina
    2013/7/1 Claudio González <[email protected]>
       Re: Adobe Reader won't work  created by Claudio González<http://forums.adobe.com/people/Claudio+Gonz%C3%A1lez>in
    Adobe Reader - View the full discussion<http://forums.adobe.com/message/5465173#5465173

  • My batch action won't work but when I run the action on a single picture it works

    I'm on a Mac and I set up 2 actions the first one to resize a photo and the second one to make a frame with my photography business logo on it. The actions have previously worked fine with no issues and now all of a sudden it won't work on a batch action but it will work fine on a single photo. Please help!!!

    Hi there,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/TS1630
    -Griff W.

  • 9.3  Reader won't work with older version of Acrobat 6.0

    I had Reader 9.3 installed and installed Acrobat 6.0.  Now neither version of Reader will work.
    I've tried removing and reinstalling but 9.3 won't work at all even with Arcobat 6.0 removed.
    What can I  do?

    Reader and Acrobat are not supported on the same Windows computer. It is known to be problem-some. Uninstall Reader and re-install Acrobat 6 or uninstall both, then purchase Acrobat 9, then install Acrobat 9.

  • Batch reading does not work

    Hello,
    I have class A, attribute List < B > A.b, B.d (back reference, mapped variable one to one). I want to use batch reading A.b. Sometimes it works, sometimes not.
    It is because of this method in VariableOneToOneMapping:
        public Object valueFromObject(Object object, DatabaseField field, Session session) {
            // First check if the value can be obtained from the value holder's row.
            DatabaseRow referenceRow = getIndirectionPolicy().extractReferenceRow(getAttributeValueFromObject(object));
            if (referenceRow != null) {
                Object value = referenceRow.get(field);
                // Must ensure the classification to get a cache hit.
                try {
                    value = session.getDatasourcePlatform().convertObject(value, getFieldClassification(field));
                } catch (ConversionException e) {
                    throw ConversionException.couldNotBeConverted(this, getDescriptor(), e);
                return value;
            //2.5.1.6 PWK.  added to support batch reading on variable one to ones
            Object referenceObject = getRealAttributeValueFromObject(object, session);
            String queryKeyName = (String)getSourceToTargetQueryKeyNames().get(field);
            Descriptor objectDescriptor = session.getDescriptor(referenceObject.getClass());
            DatabaseField targetField = objectDescriptor.getObjectBuilder().getTargetFieldForQueryKeyName(queryKeyName);
            if (targetField == null) {
                return null;
            return objectDescriptor.getObjectBuilder().extractValueFromObjectForField(referenceObject, targetField, session);
        }When B.d is instantiated, referenceRow is null. getSourceToTargetQueryKeyNames() does not contain an entry for indicator field, so the method returns null. How can I fix it?

    If the field equals the mapping's indicator field it should do a lookup in its indicator mapping with the object's class for the value. Please log this bug.
    -- James : http://www.eclipselink.org

  • My biometric reader won't work with your latest version, how do i go back?

    I spent £1000 on a laptop with a biometric reader as continually inputting passwords shall we say irks me. It was fine and dandy up until your latest version...30. Now it doesn't work at all, instead all i have is YOUR option to save passwords.....i don't want that, i want my laptop to save them in a secure file, you know, like my fingerprint reader. Frankly in the last 18 months i have come to rely on it, as i don't even remember most of the passwords i have saved, so you have managed to lock me out of several places, like my damned car insurance file....thanks.
    Please just send me a link to re-install version 29 so i can access my things again, don't make it hard, just a simple click and go link, not the nonsense on your site with 15 odd options, we're not all savvy with computers and i don't want to be made to scratch my head and have to guess at what i want.
    In case it matters, it is the HP SimplePass biometric reader i have, powered by Authentec apparently.
    Windows 7 64-bit version 29 firefox for pc is all i need

    I am currently using HP Simple Pass version 6.0, and it had been working like a dream until Firefox recently upgraded to v. 30. Now it doesn't work at all :( The current software won't have anymore updates (last one in 2013), because the omnipresent Apple bought Aunthentec (the company that makes (made) Simple Pass) back in 2012. Dear Firefox, please update whatever you have to to make the 2 compatible again, or I won't be able to use Firefox anymore. :(

  • Foxit Reader won't work with HP Laptop Help and Support Guides, any suggestions?

    New HP Pavilion with Windows 7 x64 I downloaded Foxit Reader and installed it and then Uninstalled Adobe Reader to save space. Then, although it will open my PDF's in "My Documents", it will not open the Guides or Learning PDF's in the HP Help and Support files. Is there someone with more experience using Foxit Reader than can suggest a work around? If I reinstall Adobe PDF then it all works again.
    John

    the-edmeister,
    Thank you! # 30 Under "Foxit Reader". I went back and set the Foxit Reader as the Default. I'm pretty sure that I did that when I first installed it and it asked if I wanted Foxit to be the Default Reader. Anyway, I think it is fixed.
    John

  • Adobe Reader won't work on My mac

    Hi,
    I've installed Adobe Reader but when I try to open a file online, it sends me straight back to the downloader page. I tried to re-install it but it tells me it's already installed and it is. I've tried to work with the plug-in's and selected "always allow." What else do I need to do?
    Thanks for any help!

    From the Safari menu bar, select Safari ▹ Preferences ▹ Security and check the box labeled Enable plug-ins.

  • Adobe reader won't work on new ipad

    Hello,
    I have just purchased a new ipad and I have installed the free adobe reader from the apps store icon on the ipad screen.  After I installed the adobe reader I loaded some pdf documents onto the ipad and it seemed to work just fine as I was able to open and read the pdf documents.  The problem is that when I shut off the ipad and start it back up and then try to open the adobe reader up to access my pdf documents the only thing that happens is that the screen will flash once and that is it.  The adobe reader will not open.  I have uninstalled and reinstalled the free adobe reader application 5 times and it is always the same thing.  It will work normally after a fresh reinstall however, when I shut off the ipad and restart it then it will only flash once and not open anything.
    I also bought the $5.00 PDF reader from the apps store in hopes that would fix the problem but it does the same thing.  I have also updated my operating system and have installed the latest version of the adobe reader.
      Has anyone seen or heard of this before?  Any help would be appreciated.

    I am guessing that you have a corrupt PDF that is causing the issue - and not the apps, but that is just guess. If both apps crash on you and you have the same files in both apps ....

  • Reader won't work- blank page and says "done"

    I can't get reader to show any documents from websites.  It says downloading but then says done with a blank page.  I have windows xp and ie.
    I've uninstalled and reinstalled and rebooted a few times.  Everything from Adobe help pages seems ok.

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Tecra 9000: SD card reader will not work with XP

    I have made some progress with this subject, it seems that Cardbus devices cannot share IRQs, although the main issue is that the memory address FFDFB200-FFDFB3FF is shared by both the SD card controller and the SD Card Memory Device. Unless a way to modify the registry can be found to resolve this memory conflict, the simple answer is that the SD card reader won't work under XP.
    I think this would take some major surgery of the registry or re-writing of the drivers to move the memory address used by the SD card device, I am still working on this for now.
    Can someone from Toshiba Support or Toshiba Marketing please explain to me why my Tecra T9100 has a sticker with "Designed for Windows XP and Windows 2000" on it, when Toshiba don't fully support XP on the 9000 series?
    David
    [Edited by: admin]

    Hi David
    Unfortunately, I dont think that you will find here someone from Toshiba marketing or other departments. This is ONLY a user to user forum.
    What you say is simply NOT true.
    The Tecra 9000 was delivered with 3 different OS.
    It was delivered with Windows XP Pro, W2k and Win98. You can order all this Toshiba images from the Toshiba service partner. Therefore Tecra 9000 does support Windows XP!
    Tecra 9100 was delivered with Windows XP and Windows 2000 and supports also Windows XP!
    Of course there are different models with different hardware configuration but all supports WinXP.
    I dont know why you get this error message or why you cannot use the SD card but I assume you dont use the Toshiba image. Therefore you have installed your OS not correctly. Because youre a newbie you dont know that the whole Toshiba driver installation must be done in the right order and all the Microsoft QFEs must be also installed.
    As you see you have to pay attention to many important things if you want to install the OS manually.
    Have a nice day

  • Last Read Page Not working in Reader 9

    Win 7 Reader 9 remember last page read won't work. Works fine in Win XP Reader 7. Any help? (Yes, restore last view settings when reopening documents is checked as are the accessability option reopen documents to the last viewed page)

    Hi,
    In LC Designer, there is a standard script in the Print button:
    xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
    The second parameter tells Acrobat the start page and the third parameter sets the last page to be printed (both are based on a zero page numbering system). The help file sets out the different parameters.
    In AcroForms the following should print:
    this.print({nStart: 0, nEnd: 7, bShrinkToFit: true});
    Good luck,
    Niall

  • Strange behaviour with batch reading

    I have 1:m relationship between two classes. If i have batch reading enabled on the relationship, then the m items (also marked private) do not get deleted. If i unselect the batch reading, then the items are removed.
    I have also noticed in the past that sometimes the collection will be empty if I have batch reading selected.
    Are there known circumstances in which the batch reading ceases to work as expected?
    thanks,
    craig

    Hi James,
    I am using:TopLink - 10g (9.0.4) (Build 031126)
    They are getting read empty in the object when I put a breakpoint there, however when I execute the sql there are definitely results.
    In one particular case, I am doing a ReadAllObject query, then iterating to a particular item, and then calling
    getTopLinkTemplate().delete(fg);
    The fact that it is within Spring is a red herring i believe. I have had this problem in the past too.
    Is there anything thing else I can do to give you more information?
    thanks,
    Craig

  • TS3988 I changed my Apple ID to my new email address successfully for the iTunes and App store but it won't work for iCloud and it won't recognize my password. I read that this can't be done. How am I supposed to get into iCloud?

    I changed my Apple ID to my new email address successfully for the iTunes and App store but it won't work for iCloud and it won't recognize my password. I read that this can't be done. How am I supposed to get into iCloud? I plan on getting rid of my old email address which is my old Apple ID so how is that going to work?

    Same question Wish someone had replied!
    I changed my Apple ID to my new email and now cannot find any way to access icloud. Unfortunately I had allowed icloud to hijack my airbook files, so of course I am afraid I will lose them tomorrow when I exchange my iphone for a new one and cannot keep an icloud account i cannot access. What a poor sync system! Really atypical for apple!

  • Javascript won't work - JavaScript for Reader Mobile API Reference (Android)

    I have created a Form with the new Adobe Acrobat Pro DC (trial version).
    The Javascript code just won't work on a mobile phone.
    Doc - JavaScript for Reader Mobile API Reference (Android this shows that what I want to do is supported.
    But not even the simplest command will work on my phone. (I am using Adobe Acrobat DC - PDF reader for Android)
    Any suggestions of what I could be doing wrong?
    Best,
    Menno

    A Doc.getField() should work.. Try small steps: Create a document with two fields (e.g. Text1 and Text2), then create a custom calculation script for Text2 that uses the following code:
    event.value = this.getField("Text1").value;
    Does this copy the data you enter in Text1 to Text2?
    Then, add a third field ("Text3") and a button with the following MouseUp JavaScript action:
    this.getField("Text3").value = this.getField("Text1").value;
    Does this work? It actually works for me. To save you some work, here is a link to the test file I've used: http://khkonsulting.com/files/AUC/AndroidTest.pdf

Maybe you are looking for

  • Pagination on interactive report - how to move it on my layout

    okay, I am working with the basic interactive report, no tweaks. My end user doesn't seem to worry about much horizontal scrolling, although it goes against my personal web dev standards to do that without significant necessity. But with the template

  • How to change file type when exporting a report with a background job

    Hi, I've set up a background job in SM36 to execute a SAP Query I've created, set to send the results as a file to an external email address. When it arrives the file is a .htm (and it seems to cut out after a few pages of data), but I'd like it to e

  • Icon on toolbar is in Korean or other non-English language; help!

    Once in awhile, the icon on the toolbar which lets met know that Firefox is running suddenly changes from English to an Asian language: Chinese? Korean? I don't know what. How do I change it back to English? == This happened == A few times a week ==

  • SIP and VOIP

    Hey.. I have almost succesfully published and allowed RTP and SIP through TMG, we can make calls from the VOIP phone, but we are unable to receive calls. When we call the VOIP phone then it sends UDP traffic ranging from 10.000 to 50.000 and that UDP

  • Error at the time of Shipment Cost Document Creation.

    Dear All, At the time of creation of shipment cost document I am getting the following error.Chk S Loc-VL02N/Maintain YRVX001/002.This error is coming after I have given GL Code and Cost Center.Please let me know what needs to be done to rectify the