Quote:
why do you want to map something that you don't want to be persistent ?
The collection items are persisted, they're just not persisted from that collection... the collection in question is basically a subset of another collection where they are persisted.
Quote:
why don't you just query for the relavant data instead of mapping it as a collection ?
Because it's simpler (and more robust I think) to simply access a collection throughout my application than maintaining a bunch of queries everywhere. And I have other non-hibernate requirements to use that view as well.
Anyway, if you're telling me Hibernate doesn't want me to map collections that won't be persisted from that collection, then that's fine, I'll just try to stay away from doing that.
Thanks