• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate: Parent-Child Relationship

 
Erap Estrada
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ive been looking on how to write the java code "query" of parent-child relationship using hibernate. Using the mapping below, how would you do it in java for a simple get all query of the class "SpecialEditionCD"?

Thanks!

 
Erap Estrada
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PLEASE IGNORE

I found the answer.
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Erap Estrada:
PLEASE IGNORE

I found the answer.


Who are you? Did you say something?

Congrats on finding the issue.

Mark
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
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!