ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo Souza" <acptecnolo...@gmail.com>
Subject Re: GenericDelegator
Date Wed, 04 Jul 2007 20:32:05 GMT
2 ways,

1 - Use selectCountByCondition; ( High cost, two querys executes)

2 - Use selectListIteratorByCondition; ( Low cost - do not create
instance of GenericValues). See PartyServices.findParty method to

2007/7/4, Amine AZZI <bakhtout@gmail.com>:
> Hi all,
> I am working on a project where reports are generated through BIRT. I am
> using the scripting feature to make the data set.
> In the script I am instanciating a org.ofbiz.entity.GenericDelegator object.
> and I am using the findAll method to retireive a complete list of a entity.
> The report works fine but it gives me only the half of the true count of the
> entities in the database. I tries a new BIRT report using a direct JDBC
> connection and the report gives the total number.
> Does the GenericDelegator use a pagination feature, and how I can disable
> it? or at least make the number the records taken at once greater.
> Regards.
> Amine.

View raw message