• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate relation. Can we have 3 one-many instances in a class.  RSS feed

 
Neha Deepika
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we implement this in real time? like parent table having multiple childrens.
class A{
onetomany : classB
onetomany : classC
}

classB {
manytoone :classA id
}

classC {
manytoone: classA id
}

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!