• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
}

 
Acetylsalicylic acid is aspirin. This could be handy too:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!