Here John and jack are the critics for the books with title ABC,DEF,GHI what would be the best
possible implementation for such a table . Note priority would be obtaining ratings easily and connecting them to critic and books easily , also critic may or may not provide rating to the book. XML mapping would help in clarifying better as currently we use that instead of annotations. Also show many pojo's would be needed or are preferred to create
Rather than asking for complete solution. Can you please suggest what have you tried and where exactly are you stuck ? This will help us helping you in a better way.
posted 3 years ago
Thanks for suggestion Salil, ok so this looks like a ternary relationship where we see that there could be three objects in Java Book, Critic and Rating. So questions turns out to be what is the best way to implement ternary relations in Hibernate
look! it's a bird! it's a plane! It's .... a teeny tiny ad
the new thread boost feature brings a LOT of attention to your favorite threads