I have two entities: item, and bid, each item have many bids for it, so bid is a collection property of item.
in the page that show an item, I just want to show the first 10 records of bids about this "item".
so, I do this query:
from item
left join fetch item.bids
where item.id=3
...
but this will fetch all bids about an item, so, how to limit the bids about an item ?