openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M. Walter" <>
Subject Re: AW: Speed of fetching simple entities using OpenJPA
Date Fri, 23 Sep 2011 13:16:12 GMT
In the meantime we were able to speed up things by only selecting the fields
from the database we really need in the application at application start.
You can do this with constructor expressions. You probably know that. We
approximately had 50 seconds to read and deliver 60'000 entities to the
remote client. Now this is done in 2 seconds with only reading two fields
instead of everything and the use of setBatchFetchSize() feature! 

Michael Pflueger wrote:
> Hi,
> Thanks for your comment.
> Well, in your case it seems to be a DB problem though?
> Have you tried reading without cursors or using a different database? 

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message