Hi,
I'm looking for a way to declare a one-to-many relation for an entity without storing the value (the Collection) in the entity. no member, no getter, no setter. I have not found a way to do so without getting an Exception like "org.hibernate.PropertyNotFoundException: Could not find a getter for (...)"
This may sound like not really useful, but I need to implement some persistence aspects that need to be added to all my entities without the "normal" developer to see them. That's why I don't want the necessity to add this relation to my classes.
But in the background, triggered by aspects, I want to be able to be able to use this relation with a session in EntityMode.MAP mode and have the relation in my map as a property. And I of course want this relation to be eagerly loaded.
I know there is a lot of "I want" in this text, I'll work on it :)
Dirk
|