|Eclipse Data Partition Question [message #1061781]
||Mon, 03 June 2013 23:21
| Oliver Zhou
Registered: February 2012
I download the eclipselink data partition example and I can run it successfully. But I have a few questions about it.
1. In the Customer class, I see two partition policy annotation applied:
I think these two policies looks like incompatible, and in practise, only HashPartitoning policy takes effect.
2. Suppose I would like to issue a query like this:
SELECT c FROM Customer c WHERE c.id < 10 ORDER BY c.id
The result are not globally sorted and only partial sorted by each partition.
Is there a way to use a merge sort algorithm to sort the merged result?
[Updated on: Mon, 03 June 2013 23:22]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02456 seconds