cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <>
Subject Re: Big selects on PostGres : Configuring Statement.setFetchSize() of a selectquery
Date Sun, 17 May 2009 12:12:28 GMT
Thanks for the Jira. Can't give you a time estimate on that, we are an  
open source project after all. All I can say now is that adding this  
API to Cayenne is fairly trivial (you can even take a shot at this  
yourself, if you feel like hacking the Cayenne internals). But before  
we commit anything like that, I'd like us to research the effects of  
this on at least a few of the databases that Cayenne supports, and  
various driver-specific caveats that I am sure will arise. So this  
will take some time to make it a production quality feature.


On May 17, 2009, at 12:52 PM, stefcl wrote:

> According to the JDBC javadoc, setFetchSize(int) is an *hint* you  
> can give,
> the driver may decide to ignore it. Nevetheless I'm sure it's useful  
> because
> other OR/mapper like IBatis provide a way to set this parameter.
> I have filled a Jira issue about this :
> I really hope there's a chance to get a fix shortly, because Cayenne  
> is the
> only OR/mapper that gave me satisfaction.
> Andrus Adamchik wrote:
>> I haven't experimented with that much (so no idea which drivers take
>> advantage of that and which would simply ignore it), but that would
>> indeed be a useful parameter for ResultIterator scenario. So maybe
>> open a feature request in Jira?
>> Andrus
> -- 
> View this message in context:
> Sent from the Cayenne - User mailing list archive at

View raw message