openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M. Walter" <marc.wal...@sbb.ch>
Subject Re: Using FetchPlan.setFetchBatchSize() feature leads tojava.io.NotSerializableException
Date Fri, 23 Sep 2011 13:05:23 GMT
Okay, using the method setFetchBatchSize(int size) works as desired but the
result is not serializable so an exception will occur after trying to send
the result to a remote client. The simple solution to this problem is: copy
the result list content to a new list and send the copy to the client.
That's it.

--
View this message in context: http://openjpa.208410.n2.nabble.com/Using-FetchPlan-setFetchBatchSize-feature-leads-to-java-io-NotSerializableException-tp6771824p6824148.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message