Collection issue

Options
Raghav_K
edited August 30, 2019 in Documentum #1

I am having one object type with 2000 records. written sample DFC code and trying to export 2000 objects with content.
Some time i am getting 1000 and other number.each execution number is varying.Only 1-2 times i got correct result. Observed for failed cases collection is getting null and not sure why collecting is getting into null condition ..any idea in what cases collection will come null?

Comments

  • Hi,
    Not sure what could be issue from this description. Try using dfc.jar from latest patch. Try increase dfc.cache.object.size to 2000.
    If doesn't help, create support ticket.

    MEOW

  • You have 1000 records and you want to export 2000? Sorry but I don't get it.

  • Sorry it has total count of 2000 records

  • Are you making changes to the docbase while you process the collection (e.g. update any objects)? If so, then this will close all open collections. To prevent that you must execute the query using DF_EXEC_QUERY flag. It would be helpful to post your code.

  • No changes to docbase,...

  • Try storing the 2000 records into an array first before exporting them.