How to set JDBC fetch size on JPA query? [message #501317] |
Tue, 01 December 2009 15:32  |
Eclipse User |
|
|
|
Is it possible to modify the JDBC fetch size on a JPA query?
I'm considering a current piece of code that uses JDBC to process a resultset from a query that theoretically returns hundreds of thousands of rows, but my service only runs for a few minutes, only processing the records it can process in a time limit. The next time it runs, it runs a similar query and gets the rows that haven't been eliminated in the meantime. In this piece of code, I can tune the performance by changing the JDBC fetch size.
Could I do something similar with JPA, or perhaps a custom JPA extension to EclipseLink?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03446 seconds