Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate query  RSS feed

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Team object which has an array of Players object. (mapping file below) . now I want to build a query, select one team object when this team object's name ='dd' and this team's players object's name='bb'.

my coding is wrong, I don't know why .

Thanks

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