IC5Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
Topic
  • 4 replies
  • Latest Post - ‏2012-06-27T08:21:39Z by SystemAdmin
SystemAdmin
SystemAdmin
783 Posts

Pinned topic getInitialLookupQuery() is never called

‏2012-06-05T14:43:43Z |
i use jdbcreader for my bds and BatchJobStepInterface for my step

i want to select data from db but getInitialLookupQuery() is never called.
It always goes to getRestartQuery()

can u please help me on that ?
email:s.daouiji@gmail.com
Updated on 2012-06-27T08:21:39Z at 2012-06-27T08:21:39Z by SystemAdmin
  • sspavan
    sspavan
    60 Posts

    Re: getInitialLookupQuery() is never called

    ‏2012-06-05T15:33:45Z  
    Posted same question couple of months back and still looking for an answer.
    Also remember that getRestartQuery() is called at every commit interval so your query will be executed multiple times based on your commit interval, if your querying large amount of data you will have performance hit.
  • SystemAdmin
    SystemAdmin
    783 Posts

    Re: getInitialLookupQuery() is never called

    ‏2012-06-07T08:37:49Z  
    • sspavan
    • ‏2012-06-05T15:33:45Z
    Posted same question couple of months back and still looking for an answer.
    Also remember that getRestartQuery() is called at every commit interval so your query will be executed multiple times based on your commit interval, if your querying large amount of data you will have performance hit.
    please if u have the answer let me know i need it

    email:s.daouiji@gmail.com
  • sspavan
    sspavan
    60 Posts

    Re: getInitialLookupQuery() is never called

    ‏2012-06-26T19:21:51Z  
    please if u have the answer let me know i need it

    email:s.daouiji@gmail.com
    There is a new fix going to be released. With it the initialLookupQuery() will be called.
    I got a test jar and the fix worked, so I assume they will be releasing it soon.
  • SystemAdmin
    SystemAdmin
    783 Posts

    Re: getInitialLookupQuery() is never called

    ‏2012-06-27T08:21:39Z  
    • sspavan
    • ‏2012-06-26T19:21:51Z
    There is a new fix going to be released. With it the initialLookupQuery() will be called.
    I got a test jar and the fix worked, so I assume they will be releasing it soon.
    thank u ,

    email:s.daouiji@gmail.com