• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using attributes from different tables in the mapping/annotation

 
Priya Venkatesan
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am relativley new to hibernate and hence bear my question.Is it possible to create a POJO containing different attributes and these attributes may belong to different tables. Is it possible to have annotations/mappings in the class that would map to right columns in different tables?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic