-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: How to construct mapping in Hibernate
PostPosted: Fri Oct 25, 2013 5:13 pm 
Newbie

Joined: Fri Oct 25, 2013 4:34 pm
Posts: 1
Today I cam accross following scenario
We have a publication house and are in requirement of building a rating system for books.
The requirement is like :-

Title Author Subject Critic/Rating
ABC Aaaaa Sssssss John-2,Jack-3
DEF Bbbbb S11111 John-4
GHI Ccccc S22222 John-3,Jack-5





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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.