How to change the fetch size for a one-to-many relationship

With Toplink 10.1.3, since using scrollablecursor is a prerequisites for changing the fetchsize on a query (using the setFetchSize), I am wondering if it would be possible to change the fetchsize of the query which is associated to a one-to-many relationship.
So, is this possible? How ?

In TopLink 10.1.3 you can set the fetch-size on any query, it has nothing to do with using a ScrollableCursor.
Example:
readQuery.setFetchSize(100);
To set the fetch size on a mapping query use,
mapping.getSelectionQuery().setFetchSize(100);
In 10.1.3 you can only set this in code, not currently through XML or the Mapping Workbench. In 10.1.3.1 you should be able to set the value through XML as well.

Similar Messages

  • How to set the fetch size for a ResultSet object?

    Connection con  = getConnection();
    Statement stmt = con.createConnection();
    ResultSet res = stmt.executeQuery("select * from table");
    //res.setFetchSize(?);
    while (res.next)
    res.get....
    }I do not know the number of rows .
    How can I set the fetch size for the ResultSet object?
    I try
    res.last();
    res.setFetchSize(res.getRow()/2);
    res.beforeFirst();
    while (res.next)
    res.get....
    }but it's so slow if there are 6000 rows.
    How can I set the fetch size for the ResultSet object more effectible?
    And what is the best number to set the fetch size?

    The fetch size defaults to a standard number. It is unlikely that it will be any faster if you set it unless you only plan to read a small number of rows.
    i.e. if you are going to read all the rows, you need to read all the rows no matter what.
    Unless the system has set the fetch size to 1 changing it will not be faster.
    Depending on the row length, reading in 6000 rows is going to take a long time. You could try using a cpu profiler to improve performance.
    Do you really need to read everything in every row?

  • How to change the FONT size for a TEXT object?

    Hello
    I am keeping a TEXT element to get a static text (as 'Visitor Info Form'), so i inserted TEXT from palattes, its size is Aerial 10, but i want to have its size as 24, I tried by right clicking on TEXT, then selected FONT, then choosen the 24 from drop-down list, its not working/reflecting!! but, when i change the PARAGRAPH settings, they are reflecting!
    Pls. let me know how to change size from 10 to 24?
    Thank you

    Don't specify the styleclass for the inner panelHeader.
    <af:panelHeader text="panelHeader 1" id="ph1" styleClass="CustomHelpHeader">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <f:facet name="legend"/>
    <f:facet name="info"/>
    <af:panelHeader text="inner panelHeader" id="ph2">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <f:facet name="legend"/>
    <f:facet name="info"/>
    </af:panelHeader>
    </af:panelHeader>
    The inner panel header does not get affected and is displayed normally.
    Thanks,
    Navaneeth

  • How does one change the font size for folders and/or file lists in the Bookmarks Library?

    How does one change the font size for folders and/or file lists in the '''Bookmarks''' Library?
    Since the upgrade to version 9.0.1 of Firefox, the Bookmarks feature changes are confusing me. They seem to be confusing themselves as well. The list of bookmarks has changed. The font size is so small that my aging eyes cannot read it without fogging the screen with my breath. Some folders are out of alphabetical order (where I know they were previously good), and some are missing altogether (folders to which I frequently add references).
    As for missing or deranged files or folders, was there something that I should have done or now need to do to recover those after the upgrade (or before)?
    With regard to font size,
    1. there is no “Edit Bookmarks” or like option to edit the list in this version
    2. the “zoom” option in the “view” list of functions is greyed out when in “Show All Bookmarks” window
    3. expanding the browser window has no effect on font size
    4. “Preferences” settings for font size has no effect in that window either, including advanced settings
    5. “Help” offers none that I can find.
    Can any of you Help?!?

    Maybe this extension helps:
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/

  • I cannot figure out how to change the photo size on my iPhone 5s.  I was given the choice of small, medium or large the first time I took a picture.  Now I have no idea how to change it to medium.  Can anyone help?

    I cannot figure out how to change the photo size on my iPhone 5s.  The first time I took a pic it asked if I wanted smalll,  medium or large and listed the pixels.  I chose small but am now finding that is too small.  Can anyone help me set it to medium now?  I can't find any setting for that.  I'm a newby to iPhones and have no idea what I'm doing.  Thanks for any help you can offer.

    By "sending" do you mean sending email?
    If so, what app are you using to take the photos on your iPhone 5? Or are the photos from a different source (saved to your Camera Roll from somewhere else, like a web page or Messages)?
    My guess is that Mail gives you the option to send different file sizes when it detects you are trying to Mail a really large photo file. The size of photos on the iPhone 5 is really big and some email providers may stop your mail from being delivered if attachments are too large. Thus, Mail tries to help you by offering to resize the photo.
    I suspect that if you are sending smaller files, Mail does not bother giving you options to save a smaller version. In fact, I have seen this behavior. So, if the photo is already "small enough", it gets sent as-is.
    To my  knowledge, there is no global iOS setting for this. Some apps may have different rules, of course.

  • How to change the font size of text and case in smartforms

    hi,
       could any one explain how to change the font size of text in smartforms. ex. previously i had taken P4 left aligned and C6 but now i want to decrease the font without making it bold. pl......... guide me
       secondly the value which are coming from tables are upper case but i need lower case. pl. guide
    thanking u

    check out the smart styles...create a font of ur size n use.
    Define the paragraphs & character formats using SMARTSTYLES & use them in your smartform.
    You have to give the smartstyle name in the Form attributes-->Output options for the formats to be used in your smartform.
    You can define font size in Smartform Style.
    Smartform Styles > Charcterformat> Font --> size.
    to load the font to SAP server chk this
    Re: Adding a new font for SAPscript/SMARTFORM output
    Regards
    Vasu

  • How to change the font size of text element in smartform

    Hi
    i want to know how to change the font size of text element in smartform
    regards
    Gincy

    Hi
    You can create Smartstyles, in which you can define paragraph formats for texts and character formats for character level changes.
    Paragraph format ---> alignment, font size etc
    character format for ---> superscript, subscript.
    After creating, in your smartform, there will be a option in the text element to enter a style.
    You give the created style and you can use the paragraph and character formats i that style.
    Hope this is clear..
    Regards
    Sekar

  • How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit.

    How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit. I am uanble to modify it to 5.38 pt for example. Its only allowing to 1 decimal place.

    Click on each field and the choose Properties from either File menu (or if on Mac hold dow mouse button until context menu appears choose properties)
    go to Font
    choose desired size and type font,you can choose to make this the default.
    Do this with each field.
    Or if you have a lot of fields:
    while one is selected select all of them
    then go to fonts in properties
    change Font and size and make default.

  • How to change the font size in sap scripts?

    hi friends,
        i had a query regarding to SAPSCRIPT.
      how to change the font size of a text in sap script form in which it should change it  dynamically.
    is it possible to change the font size dynamically in scripts.
    one more query regarding to this only.
    i need to get the hard copy of a script .
    what is the transaction code to get the hard copy?

    Hi venkata,
    You can specify the font size either in the Character format or pharagraph format.
    You better decide it according to your requirement.  If you want to apply the same font size for the entire form create the Paragraph format and give the paragraph format in the default paragraph format.
    If you want to apply that to limited text, then create character format.
    The process of creating it is just after going inside paragraph format click EDIT-> Create Element and give the font size.
    This applies for character format also.
    Reward points if useful.
    Thanks,
    karthik

  • I like the mail feature with one exception; I cannot figure out how to change the font size of incoming mail permanently.  And, when answering an email I have to highlight the first few words and zoom it so I can see what I am writing.  what am I missing?

    I like the mail feature with one exception; I cannot figure out how to change the font size of incoming mail permanently.  And, when answering an email I have to highlight the first few words and zoom it so I can see what I am writing.  what am I missing?

    You can type the email using what you set in preferences and then highlight the text and use command - minus sign (or command - + for larger) to reduce the size of the text.
    You can also type command - T and a window will appear allowing you to select fonts/sizes/color/ background highlight.
    The above works in Notes also. I haven't tried to do this in any other Apple application.
    For incoming emails, you can use the above to reduce font size, but I don't know of a way to permanently set the incoming font size to a default.

  • The fonts on my facebook page is set to approximately 200%. This problem is only on my facebook page. Does anyone know how to change the font size on this page?

    I do not know how I changed the font size on my face book page I have tried everything to change the font size to 100% but have failed. Any suggestions?

    Hi,
    From your description, you want to know how to edit a page in SharePoint 2013.
    Go to the page->click Settings->Edit page,refer to the following screenshot:
    If a user want to edit a page, he at least have edit permissions.
    If you have any problems, please don't hesitate to let me know.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to set the stack size for alchemy application?

    Anybody know how to set the stack size for alchemy application?
    If you know, please tell me how to adjust the stack size for alchemy application?

    Hi,
    The stack size is set as public const gstackSize in the alchemy generated code.  You can see this if you build with ACHACKS_TMPS set.  The default is one megabyte.
    One way to change the stack size is to use llvm-dis to disassemble avm2-libc/lib/avm2-libc.l.bc, generating avm2-libc.l.ll, modify the constant, and then use llvm-as to recompile your modified library and overwrite the old one.  These utilities should be in your path if alchemy is set up.

  • How to change the paper orientation for IP19

    Hi,
    I need to take the print out for one year. for that I want to change the paper orientation from portrait to landscape for IP19.
    Please help me how to change the paper size.
    Thanks & Regards

    Dear Chris,
    Once after executing CS11,you can download the report to an excel format or a rich text format or
    unconverted format.After executing press ControlshiftF9 to save as a local file.
    then from that file you can change the printer settings as you require.
    Check and revert back.
    Regards
    Mangalraj.S

  • How to change the paper orientation for CS11

    Dear guru ,
    I want to change the paper orientation from landscape to portrait for CS11.
    Please help me how to change the paper size.
    Thanks in advance

    Dear Chris,
    Once after executing CS11,you can download the report to an excel format or a rich text format or
    unconverted format.After executing press ControlshiftF9 to save as a local file.
    then from that file you can change the printer settings as you require.
    Check and revert back.
    Regards
    Mangalraj.S

  • How to change the stage size in premiere pro cs3?

    Can anyone tell me, how to change the stage size of video in premiere pro cs3?
    Actually my video is cutting(dimensional preview) while rendering...it is not showing full view...so I want full preview of that video after rendering.
    Regards,
    Abhishek Thakur

    Hi,
    First of all thanks for your quick reply...I tried what you said, but the size is not changing because the area is inactive...
    Please see the attached file for more clarification.
    Regards,
    Abhishek Thakur

Maybe you are looking for

  • Running xb360 on my iMac moniter

    I bought the Mini-DVI to VGA adapter the other day, and attempted to hook my xbox 360 up via VGA. However, after turning on my xbox, there was no display that appeared on my moniter. Can you not use the iMac screen like this?

  • Question about changing file attributes

    Hello, My application brings a support file and it copies it to another directory. Then I should make that file hidden but I cannot find a function how to do it. I guess LV doesn't have that possibility in its functions. Any pointer to a Windows comp

  • FREE Call & SMS Blocker for Curve 8900

    Is there anyone know an application for blocking unwanted call & SMS FREEWARE for Curve 8900??? like black&whitelist... but i don't want the shareware... Thanks a lot.

  • My iphone screen goes crazy when it charges

    Hey there, Whenever I charge my iPhone my screen goes crazy when I touch it. If i'm typing whilst its charging it clicks random things and deleted what i've typed. The phone works completely fine when its not charging and I haven't had any other prob

  • What can I do in this recovery scenario?

    Hello, I'm testing some recovery scenario and I have problem with the one: I do full backup of the database with archivelog and controlfiles. Then I deleted all the datafiles, controlfiles and redologs. Now I wanna restore my database. I did shutdown