Partial Load Alternatives

I have an object model that contains some 1-many mappings. For most of the time our application is interested in loading and displaying top-level objects, so loading our 1-M attributes would be a waste of time. But in some cases I would like to load these owned objects.
Most of my objects are rather large--around 50 or more attributes. So, specifying partial load attributes for these cases would be pretty time consuming, and particularly annoying if our object model ever changed.
Basically, what I want to do is to typically use indirection, but sometimes turn it off for certain queries. Is there a way to do this? Or, on the queries where I want my 1-M objects loaded, should I iterate through my result list and trigger the IndirectLists?
Am I missing some feature of TopLink that handles this?

You should always use indirection.
The 1-m will be instantiated if you access them, there should be no need to instantiate them in your query. If you are doing this because you intend to serialize the objects, then you could iterate over them and instantiate the indirection of what you want to serialize. You may also wish to use batch reading on the 1-m in the query if you know you are going to instantiate them all.

Similar Messages

  • Partially loading web page

    I am having a problem with web pages that are only partially loading. If I hold down the ctrl+f5 it loads it but as soon as I release the keys it goes back to being partially loaded. I would be really grateful if anyone can help, as i process my sales orders online and can only see the order headers, so seriously affecting my ability to work.
    Any ideas

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I have some web pages that loaded completely when using 3G but partially loaded using Wifi.

    I have some web pages that loaded completely when using 3G but partially loaded (only text without any images ) using Wifi. Is it a site specific issue?

    Can you rule out the NoScript extension as a cause of the issues on those sites? Even if you allow the main site to run scripts, often a website will spread its content over additional servers, so you may need to visit the "S" button menu a second or third time to get full functionality. (Over time, you'll recognize some the servers as being for ads, tracking, or sharing buttons and you can just let those parts of the page not work.)

  • UoM error while doing partial loading in O4G1- TD Transport

    Hi experts,
    while doing partial loading error pops up which says UoM not set in customizing..
    Have checked all settings for Uom its ok..
    what else could be the issue..pls help.
    regards,
    VP

    Hi,
    Data records for package 39 selected in PSA - 2 error(s). Record 5129 :No SID found for value 'EMN ' of characteristic 0BASE_UOM . Record 5132 :No SID found for value 'EMN ' of characteristic 0BASE_UOM
    The issue with record no. 5129 and 5132.
    In PSA check errorneous records and it will display only the error records, you just edit as per the require and try reloading into cube.
    Deleting single record is not possible.
    Let us know if you still have any issues.
    Reg
    Pra

  • Icloud download is incomplete. When I load the control panel it only partially loads. I do not get the page that offers feature

    icloud download is incomplete. When I load the control panel it only partially loads. I do not get the page that offers features. Also when I look in my Windows Programs it shows that the icloud program has loaded 80MB vs 42MB. Can someone pelase help

    Uninstall iCloud and reinstall it (reboot in between)

  • Partially loading webpages

    My iMac is partially loading webpages. I have to constantly hit refresh, sometimes multiple times, to load a page. This isn't specific to any browser; I've tried Safari, Chrome and Firefox and they're all responding the same. It also isn't an issue with my ISP or router because 1) our other computers in the office on the same network are okay, and 2) I connected to a different wifi network and had the same problem.
    I've disabled IPv6 but that didn't solve the problem. Any other ideas?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Typekit web fonts only partially load in IE

    I'm having some troubles getting Typekit web fonts to work well with Internet Explorer. Occasionally the fonts will load just fine, sometimes the fonts won't load at all, and sometimes the fonts will only partially load where parts of the site will have the correct fonts and other sections will not. Again this is only with IE 9-11. Every other browser works fine. I'm hoping someone on the forums may be able to lead me in the right direction. I've emailed the support email on the typekit website twice and after waiting several days I fear they won't be getting back to me. Thanks for any help anyone can give me.
    This is an image of it working in Chrome.
    Image Not working in IE
    Now fonts working after refreshing the page twice

    Hi linseyfree,
    I am sorry that you've been having trouble with your font loading! We didn't receive an email from you in Typekit Support; I will look into what happened there. 
    I have been emailing with one of your colleagues (Tom S), however, and I believe this problem has been sorted out.  If you still see trouble with the font loading, however, please run the tests at the end of this post in IE 9 or 10 and we can look into it further for you.
    Best,
    -- liz
    Use the web developer tools in the browser to look at your site's assets, and take a screenshot of the timeline for Typekit.
    1. Clear your site cache so that the Typekit files are requested from the network again.
    2. Select the network tab in the developer tools and keep it open.
    3. Go to the page that's giving you trouble. Verify that it loads and that the fonts still aren't loading properly.
    4. In the network tab, scroll down until you find the requests from Typekit; there should be a JavaScript file and a CSS file.
    > take a screenshot
    5. Select the JS filename, then select the Headers tab that appears.
    6. Resize the window so that all header info rows are visible.
    > take a screenshot
    7. Select the HTML tab.  Is the font marked as "wf-active" in the font events on the HTML tag?
    > take a screenshot

  • Safari won't display a site correctly, sometimes page takes extended time to respond and partially loads other times images wont load

    So I have a friend who I've been trying to assist with this. I don't know if she has issues with other sites or she may not have encountered any yet, but one in particular is just not working. It started about a month ago around the time she moved (so different ISP/router etc.) though not entirely sure if it started right after that or if it was just coincidence. Anyways she cleared cookies/cache, no luck. I had her update and restart the computer, still not working. Disabled all extensions, still doesn't work. It can take upwards of 30-45 seconds to even respond in some cases, and when it does sometimes the page is all white with just text improperly formatted, but the background doesn't display at all, other times the background images and text are displaying correctly but the nearly all the user submitted images on the site (deviantart) will not display. I believe she mentioned it occasionally happened on tumblr as well.
    Other computers on her network are fine. I downloaded Firefox to see if it was a problem that persisted across browsers and indeed it did. So I went into the console on Firefox and looked at further information and it was returning Status Code 304 Not Modified which I looked up and that says it is telling the browser that the images should be loaded from cache. Problem with that is she shouldn't have any cache as its been cleared. I searched around this issue, found a suggestion saying to clear DNS cache, tried that and suddenly Firefox worked. I then logged into her username on DeviantArt through Firefox and suddenly the issues returned. I eventually was able to log out and things worked again. Now when I log into her account through Firefox it works fine. Safari still has issues.
    I've even deleted the cache.db file in the library/safari folder and quit/restarted Safari and still no success. I've tried disabling cache through the developer options. The status code 304 error made me believe that the reason the images weren't showing up is because there is no cache for those images but the server is telling the browser to use the cache so the images cannot load. One last thing I can mention is that on the console in Safari, it often just returns many errors for all the images on the site saying it didn't respond. One time there were errors saying something about the security certificate but I refreshed numerous times after that and that error never showed up again in the console. Anyone know what might be causing this?

    Hi ...
    Start here >  Safari 5.0.1 or later: Slow or partial webpage loading, or webpage cannot be found
    If nothing helped from that link, try troubleshooting Safari plug-ins.
    From the Safari menu bar click Safai > Preferences then the Security tab. Deselect:  Allow all other plug-ins. Quit and relaunch Safari to test.
    If that made a difference, instructions for troubleshooting plugins here.

  • Why is my site's Iframe partially loading?

    Dear Sir,
    My website's iframe is loading partially in firefox but is loading fully in chrome. You can check it in
    http://orthocad.iitb.ac.in/betic/
    Please let me know what needs to be done to solve this issue.

    Hi thanks for the immediate response;j
    I have made the the table height:100%; Do I need to remove the position:relative?
    Also just for the curiosity why is the total height of frame only 150px? have I specified it anywhere?

  • Partial load - Error DTP

    I am trying to load data from Info Cube to Info Cube but its partial. So I have used a filter in the DTP. I want to use the multiple selection. When I execute the DTP, In the monitor it says No records found. Once I have gone to see the DTP...It shows Creating Error DTPs. Can you please provide me the screen shot and explain me little bit how to use filter in DTP?
    Thanks
    Ramakant

    Without filter its working fine.(Loading all the records)
    When I set the filter for range of values (Customer1 to Customer10) still it is not populating the values in the IC. Monitor shows 0 records updated. When you look back in the DTP..it just say Error in DTP.
    In RSMO my IC is not there. I am not using any routines..doing it manually.
    How to analyse the DTP error? Which T-code will help?
    Thanks
    Rk..
    Edited by: RK on Jan 11, 2008 6:32 PM

  • Tried to download itunes audio book.  Partially loaded.  Upon checking itunes app can get no response to any commands.  How to fix?

    Tried to download audio book from itunes.  Already paid for with gift certificate.  Partially downloaded. Says "waitin" has for last 18 hours.  Cannot get into itunes app....nothing happens or changes.  How to fix problem? 

    Hello Russlsmith
    Close out of iTunes and then open it back up and try to resume the interrupted download of your audiobook. If you are still unable to download it, then report the issue to the iTunes store about your purchase.
    iTunes: How to resume interrupted iTunes Store downloads
    http://support.apple.com/kb/ht1725
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    http://support.apple.com/kb/HT1933
    Regards,
    -Norm G.

  • Safari only partially loads certain web pages. The menu bar on a page is completely missing so I can't access any of the site

    where that white bar is above the login should be a menu bar. It never loads and I cannot access a number of pages on the site. Is there anyway to correct this?

    Hello Siobhan86,
    It looks like your iPad is not loading this webpage correctly all of a sudden. I would start by quitting Safari:
    iOS: Force an app to close
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that restart the device and test the issue again:
    iOS: Turning off and on (restarting) and resetting
    If the issue persists, I would next clear the website data for Safari in Settings:
    Safari settings - iPad User Guide
    Go to Settings > Safari, where you can:
    Clear your history, cookies, and data
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • Partial load problem

    After some headache (and some help from this forum), I finally got the applet I'm working on for my friend to come up ( [The Phoenix Security Group Ltd.|http://www.phoenixsecuritygroupltd.com] ). The problem now is that it doesn't seem to finish loading and only displays a test button from the site against a white background. This is the last piece of output that's in the java console:
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: No timestamping info available
    security: Found jurisdiction list file
    security: No need to checking trusted extension for this certificate
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    security: JAVAWS AppPolicy Permission requested for: http://www.phoenixsecuritygroupltd.com/lib/phoe.jar
    basic: JNLP2ClassLoader.getPermissions() X
    basic: JNLP2ClassLoader.findClass: sun.font.FontUtilities: try again ..Any help would be greatly appreciated.

    Hello, am having the same problem, did you fix it?
    By any chance, is your dev machine a mac? 'cause mine is, and it works just fine on a mac, any browser, it also works fine on a linux box, with Galeaon, but it gives the same error on a windows any browser.

  • XML data partially loading in DB

    Hello,
    I'm using Oracle 9i v.9.2.0 and I'm having the following problem:
    I need to load the content of an XML file (using the DBMS_XMLSAVE package) into an temporary table I created. In order to do so, I created a stored procedure to load the data from the file, validate that data and then transfer it into a production table. The stored proc receives the XML data in a CLOB parameter.
    Everything's working fine when the XML data contains from 1 to 139 "records" but with 140 (and greater) (???) I get the following error message :
    "ORA-29532: Java call terminated by uncaught Java exception: oracle.xml.sql.OracleXMLSQLException: Expected name instead of \u07EE¿." (sometimes, instead of "\u07EE¿", I get the name of an existing tag who's valid).
    I spent hours searching on Ask Tom or Metalink or in Oracle Documentation or asking collegues but nothing helped so far. I really don't know what might be the problem and I certainly don't want to manually parse the XML file.
    So if anyone could help me with this problem I would greatly appriciate it.
    Thanks in advance!

    Hi Morten,
    Thanks for your reply but I doubt having an invalid character in the file. You see, in order to test my procedure, I started with one record (in the XML file), then 5, and 10, 50, etc. Each time doing cut-and-paste to add more records in the file (there's no primary key nor unique index in my temporary table so I could insert the same record any number of times) .
    So if it's working for up to 139 records and, starting at 140, I get the Oracle error, I wouldn't think that an invalid character be in cause.
    Any more ideas?
    Thanks again.

  • FCP Crashes "quits" after partial loading of project.

    After reinstalling the OS and the program.
    FCP ran perfect.
    I took a 3 day break from editing, now the project will not completely load.
    I get exactly 41% in, then it quits. (1.2mb total size)
    Will trashing the preferences work?
    -Tony

    OK, this may not be simple. FCP wil sometimes seem to keep track of files moved within the same drive. But try this: Locate the folder where all your media is on your hard drive. Move it to another folder. It would be better if you kept your media on an external drive if at all possible, so perhaps the solution is to purchase an external firewire drive (make sure it's formatted macosextended or reformat the drive to macosextended) and move your media to it. Be aware of the distinction on the mac between moving files and copying files. When you drag files between drives, you are copying them. When you drag files between locations on the same drive, you are moving them. If you move the files to an external drive, you will have to delete the original files to break the link in fcp. Reconnecting the files should not be a problem once we get past the project load problem.

Maybe you are looking for

  • AOL mail doesn't send .doc-files with Firefox

    When using Firefox AOL Mail doesn't send .doc-files. Instead a corrupted file with a different size is sent. Any other file type works aswell as sending .doc-files with other browsers works...

  • Iphone broken and dont know what to do.

    My iphone is broken and im not due for an upgrade until november and i dont know if i have the option to do so. How can i find out?

  • Trying to install presets but can't find presets folder

    I just upgraded to Lion AND purchased Lightroom 4. I'm trying to install a set of presets by going to lightroom preferences, presets and clicking on the "show lightroom presets folder" but when I click the button nothing happens at all. In fact, I ca

  • FILE2FILE scenario   issue

    HI ,     NOW i have problem in file2file  scenario     i use archive mode ,NOW at the sender ,the file was moved to OK but it wasnit transfer to the receive.    the file   is not initial.    in SXI_MONITOR ,there was no message about the file  .    

  • RAW compatability in Aperture for Canon 6D

    I seem to have a problem with the RAW compatability in Aperture even though I have installed the latest version of Mountain Lion OSX 10.4.8. which should support my camera Canon EOS 6D. Who can help me?