Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » EclipseLink and pagined queries
EclipseLink and pagined queries [message #1001292] Wed, 16 January 2013 07:08 Go to previous message
Philippe is currently offline Philippe
Messages: 100
Registered: July 2009
Senior Member
Hello,

Is a way to perform an efficient pagined query with the mysql platform
(InnoDb driver) ?

My queries use
- the setMaxResults / setFirstResult methods to limit the number of results.
- one or several indexes (BTREE).

After several tests, it seems to me that EclipseLink uses no index to
optimize the queries . Is EclipseLink run through the entire base?
Is the use of a cursor could make queries optimized ?

Other question: setMaxResults / setFirstResult and ScrollableCursor seem
limited to integer values. Is a way to perform my pagined queries on a very
large database?

--
Philippe Bastiani
 
Read Message
Read Message
Read Message
Previous Topic:Multi-threaded overwrites
Next Topic:ClassLoader problem using JPA with Native Eclipselink project file
Goto Forum:
  


Current Time: Sun May 19 04:14:33 EDT 2013

Powered by FUDForum. Page generated in 0.06488 seconds