Hi!
I'm using hibernate with annotations.
I have two classes. Player and Club. A Player object has to contain a clubId and a Club object has to contain a list of playerIds.
Additionally a Club object should contain a transient list of players and a Player object should contain a transient Club object.
Each of the Classes has a controller. The controller should have two methods to load a class object. One method simply creates objects without related objects (with only ids of the related objects), the other method additionally loads the related objects.
What in hell do I have to do?
As you see, I'm a greenhorn with hibernate.
A helpful answer would be great!
Thx!
Eventhorizon
|