SQL batch doesn't work; How to fetch related objects with fetch group?

I have two questions:
1. SQL Batch doesn't seem to work. I have tested some batch object creation
with BatchLimit set to -1, 0, 1, 25, 100. They all have similar
performance.
kodo.jdbc.DBDictionary: BatchLimit=25
2. How to use custom fetch group to fetch related objects? The example of
custom fetch group only show how to fetch different attributes in different
groups. I have a test cases where I would like to pre-fetch related objects
to save round trip.
Enviroments:
* Kodo 3.1.0 RC1
* Oracle 9i release 1
Thanks for any help!
Qingshan Luo
Senior Software Engineer
Open Harbor
1123 Industrial Road
San Carlos, CA 94070
Phone: 650-413-4251
Fax: 650-413-4298

try poracle 10g driver. At least they fixed terrible CLOB bug may be batch
to. BTW 9.2.x has problem with batching with deferred constraints so be
careful
"Greg Campbell" <[email protected]> wrote in message
news:c3dmnu$rmj$[email protected]..
>
"Qingshan Luo" <[email protected]> wrote in message
news:c3dg7q$mdl$[email protected]..
Hi,
I have two technical questions with Kodo.
1. SQL Batch doesn't seem to work. I have tried batch size of -1, 0, 1,25.
But the performance from batch creating objects is not affected by batch
size.
kodo.jdbc.DBDictionary: BatchLimit=25You may be running into a bug in the Oracle 9.2 driver. That driverdoesn't
reliably give update counts when using batching and prepared statement
caching. By default, Kodo will turn off batching. You can manuallyenable
batching by setting the BatchLimit on your DBDictionary, as you've done.If
you do this, though, you may want to turn off prepared statement cachingby
setting MaxCachedStatements to 0 (see
http://www.solarmetric.com/Software/Documentation/3.1.0RC1/docs/ref_guide_dbsetup.html#ref_guide_dbsetup_builtin).
>
2. How to use custom fetch groups to eagerly fetch related persistable
objects? Example only showed attributes, not relationships.You can find information on setting up eager fetching of relations at
http://www.solarmetric.com/Software/Documentation/3.0.3/docs/ref_guide_
perfpack_eager.html
Basically, you'll need to add the relations to your fetch group, and
set the eager fetching mode.
Enviroment:
* Kodo 3.1.0 RC1
* Oracle 9i release 1.
Qingshan Luo
Senior Software Engineer
Open Harbor
1123 Industrial Road
San Carlos, CA 94070
Phone: 650-413-4251
Fax: 650-413-4298

Similar Messages

  • SQL Batch doesn't seem to work; How to eager-fetch related objects?

    Hi,
    I have two technical questions with Kodo.
    1. SQL Batch doesn't seem to work. I have tried batch size of -1, 0, 1, 25.
    But the performance from batch creating objects is not affected by batch
    size.
    kodo.jdbc.DBDictionary: BatchLimit=25
    2. How to use custom fetch groups to eagerly fetch related persistable
    objects? Example only showed attributes, not relationships.
    Enviroment:
    * Kodo 3.1.0 RC1
    * Oracle 9i release 1.
    Qingshan Luo
    Senior Software Engineer
    Open Harbor
    1123 Industrial Road
    San Carlos, CA 94070
    Phone: 650-413-4251
    Fax: 650-413-4298

    try poracle 10g driver. At least they fixed terrible CLOB bug may be batch
    to. BTW 9.2.x has problem with batching with deferred constraints so be
    careful
    "Greg Campbell" <[email protected]> wrote in message
    news:c3dmnu$rmj$[email protected]..
    >
    "Qingshan Luo" <[email protected]> wrote in message
    news:c3dg7q$mdl$[email protected]..
    Hi,
    I have two technical questions with Kodo.
    1. SQL Batch doesn't seem to work. I have tried batch size of -1, 0, 1,25.
    But the performance from batch creating objects is not affected by batch
    size.
    kodo.jdbc.DBDictionary: BatchLimit=25You may be running into a bug in the Oracle 9.2 driver. That driverdoesn't
    reliably give update counts when using batching and prepared statement
    caching. By default, Kodo will turn off batching. You can manuallyenable
    batching by setting the BatchLimit on your DBDictionary, as you've done.If
    you do this, though, you may want to turn off prepared statement cachingby
    setting MaxCachedStatements to 0 (see
    http://www.solarmetric.com/Software/Documentation/3.1.0RC1/docs/ref_guide_dbsetup.html#ref_guide_dbsetup_builtin).
    >
    2. How to use custom fetch groups to eagerly fetch related persistable
    objects? Example only showed attributes, not relationships.You can find information on setting up eager fetching of relations at
    http://www.solarmetric.com/Software/Documentation/3.0.3/docs/ref_guide_
    perfpack_eager.html
    Basically, you'll need to add the relations to your fetch group, and
    set the eager fetching mode.
    Enviroment:
    * Kodo 3.1.0 RC1
    * Oracle 9i release 1.
    Qingshan Luo
    Senior Software Engineer
    Open Harbor
    1123 Industrial Road
    San Carlos, CA 94070
    Phone: 650-413-4251
    Fax: 650-413-4298

  • My slide to unlock doesn't work, how do I fix it?

    My slide to unlock doesn't work, how do I fix it?have a square box so cant slide

    Try restoring the iPod, first from backup and then to factory defaults/new iPod. If still problem it is a hardware problem.
    Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    A third-party place like the following maybe less expensive. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Fix it yourself
    iPod Touch Repair – iFixit

  • HT201209 I use a Gift card to buy a game and it doesn't work how can I get my money back please help

    I used a gift card to buy games and one of them doesn't  work how can I get my money back

    If the game doesn't work (and you've tried deleting it and re-downloading it via the Purchased tab in the App Store app and you've also tried contacting the app's developer) then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • My magsafe adapter doesn't work, how can i solve this problem?

    my magsafe adapter doesn't work, how can i solve this problem?

    You can get a 60W power adapter for about $20 on eBay http://www.ebay.com/sch/i.html?_trkparms=65%253A1%257C66%253A2%257C39%253A1&rt=n c&_nkw=macbook+power+adapter&_dmpt=Laptop_Adapters_Chargers&_sticky=1&_trksid=p 3 286.c0.m14&_sop=12&_sc=1

  • My iMessage and FaceTime doesn't work. how can i get it working?

    my iMessage and FaceTime doesn't work. how can i get it working?

    Without more information such as:
    - what happens when your try?
    - DId it work before and other things
    all I can suggest is:
    iOS: Troubleshooting FaceTime
    iOS: Troubleshooting Messages

  • My callout toolbar stopped working abruptly.  Restarted computer.  Still doesn't work - how do I get the tool back?

    My callout toolbar stopped working abruptly.  Restarted computer.  Still doesn't work - how do I get the tool back?

    The tool is called a “callout” note.  It places a text box with a leader.  It’s been working just fine until suddenly it stopped working and I get an error message saying “desired operation cannot be performed on this object”.  It doesn’t matter where I try to place the callout.  It simply stopped working.  I have tried restarting Acrobat.  I have restarted my computer.  I have used multiple files to ensure the issue isn’t with a corrupted file.  Nothing works.  The tool simply stopped working.

  • How do I get Mac OSX 10.6.4 to print to a Canon iRC2380 colour printer? Using the driver in the Mac's list doesn't work., How do I get Mac OSX 10.6.4 to print to A Canon iRC2380 colour printer? Using the driver in the Mac's list doesn't work.

    How do I get Mac OSX 10.6.4 to print to a Canon iRC2380 colour printer? Using the driver in the Mac's list doesn't work., How do I get Mac OSX 10.6.4 to print to A Canon iRC2380 colour printer? Using the driver in the Mac's list doesn't work.

    Not sure which driver you mean when you say "the driver in the Mac's list". Apple does not provide a driver for this device, so if you mean one of the default printers that are included with 10.6, like the Generic Postscript or Generic PCL, then these will only work if the optional PS or PCL print kits were installed in the machine. Given your inability to print then it would seem that you have neither kit installed. So this would require you to install the Canon UFR2 driver, which you can obtain via this link.
    With the UFR2 driver installed, you add the printer using IP > LPD. Enter the IP address of the iRC2380, leave the Queue name blank and change the Name to iRC2380. Leave the Location field blank and in the Print Using menu, browse to the "Canon iR C2380/2550 UFR II (UK)". Click OK and then Add to complete the queue creation. You should now be able to print. Please reply if it does not work.

  • My iPod is locked for years and the home button is pushed in and doesn't work how do I reset it?

    So my sister locked my iPod for 44 years and the home button is broken and pushed in and doesn't work how am i supposed to reset it now?

    If you can't remember your passcode, you'll have to restore it to remove the passcode, as explained here: http://support.apple.com/kb/HT1212.
    If you're running iOS 7 with Fid My iPod enabled, in order to restore it you'll have to force it into recovery mode as explained here: http://support.apple.com/kb/ht1808, or erased it using Find My iPhone on icloud.com if your home button isn't working (see http://help.apple.com/icloud/#/mmfc0ef36f).

  • My iPod touch home button doesn't work how can I fix it

    My iPod touches home button doesn't work how can I fix it and how much will it cost if I get apple to fix it ?

    See:
    fix for Home button
    Fix a broken, unresponsive or sticky iPhone Home Button
    Apple will only exchange the iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    Try a third-party place like the following.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Use the Assistive Touch Accessibility feature if you have iOS 5.

  • I have wifi access but youtube still doesn't work. how do i fix it?

    I have wifi access but youtube still doesn't work. how do i fix it? it keeps saying it cannot connect with youtube

    What country are you in?  Is YouTube legal there?

  • HT5502 AFTER UPGRADING TOMOUNTAIN LION SAFARI 6.0 DOESN"T WORK HOW CAN I REPLACE IT OR UPGRADE IT?

    AFTER UPGRADING TOMOUNTAIN LION SAFARI 6.0 DOESN"T WORK HOW CAN I REPLACE IT OR UPGRADE IT?

    An answer will require more specific information of the problems you are experiencing Mpittas2.
    In general, if you installed any third party anti-virus utilities, get rid of them. They can cause problems like this.
    There is no need to post your question multiple times. If you don't get an answer right away give it some time, a few hours at least, and please deselect your caps lock key. This will increase the likelihood of receiving competent assistance.
    Thanks!

  • My sleep buttom doesn't work how can i fix it?

    i have a ipod touch and the sleep buttom doesn't work how can i fix it? thank you

    Hi,
    some people round here had success using a 'Standard DVD-cleaner disc' like the ones for Home Theater Systems.
    Regards
    Stefan

  • My live corners widget doesn't work, how can i fix it ?

    my live corners widget doesn't work, how can i fix it ?

    jotapepea,
    You may have a look at the list below. The easy ones are at the top.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • The keyboard of my macbook air doesn't work,how can I do?

    my keyboard doesn't work ,how can I do?
    ps:My English is soso ,I cannot tell the problem claerly in English.

    Try using an external USB keyboard. If it doesn't work, then somethings
    probably wrong with the computer.
    Best of luck!

Maybe you are looking for

  • Qn on Email Body's Hyperlink to a MS Excel document

    Dear all, I'd need your help on my question below. I have created a program that will send email prompters when run. In the body of the email, I've included a hyperlink. When clicked, the hyperlink should open a document stored on a shared directory,

  • Problem with filtering data

    Hi! I'm having trouble with filtering data from my table and don't know how to resolve it properly. I created a tabular form my table, a few text fields that are used as input for different columns of the filter and a filter button that submits the p

  • SXMB_ADM settings in Integration engine Configuration

    Hi , with reference to the blog How do you activate ABAP Proxies? --- refer to the step ---2 Configuration Business system as local Integration Engine. 1. Goto Transaction SXMB_ADM 2. Choose Edit --> Change Global Configuration Data. 3. Select Role o

  • Why won't the fan on my MB Pro 13" speed up?

    Hi I run a MacBook Pro 13" with a 2.26 GHz Intel Core Duo 2, which i bought in autumn 2009. Since a while I have noticed that it sometimes get's pretty hot (you can feel it on the left side, just over the connections for usb, power and so on), and I'

  • Can you run a bash script on boot in single user mode

    Hey guys quick question. Is it possible to run a bash script on boot in single user mode. I can create a file and dump it on the root hd. Let's call it repair. I can then boot to single user mode and run it by typing /repair. But I want it to do it a