Marcin Mogiela wrote:Hi Pradeepta,
I did something like below, though it may not be the optimal solution.
If anybody had better solution for this problem or found any flaw in the problem itself I would highly appreciate any suggestions.
First of all I introduced the join class Enrollment.
From Enrollment.hbm.xml
From Course.hbm.xml
From Student.hbm.xml
From Grade.hbm.xml