posted 12 years ago
Is this possible?
I have an object that holds a collection (a large one).
I am only interested in the last object in ( PK will be max ) is there a way to get a collection containing only the last one in or a way to have an single object that is populated with the last one in using annotations?
Thanks in advance for any help.