I have a situation that I have not found an answer to when looking through the Hibernate API documentation or on SO.
We have a disconnected setup, and we send entities and collections back across the wire. We are looking at a way to use a localized cache to reduce some of the wire traffic, and I am trying to figure out if there is a way to get the IDs of entities in a persistent collection (specifically, PersistentSet) without intializing the set?