I need get collection's size in one in consult with criteria and projections.
posted 7 years ago
I have this following entuty:
And the follwing consult:
I need know size of collect but I don't get.
I trying @LazyCollection(LazyCollectionOption.EXTRA) and constant
DISTINCT_ROOT_CRITERIA for inicialize collections withoout sucess.
I thanks for any suggestions.