Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate: Problem in control lost

 
Asheesh Nehra
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i having a problem of one persistence class , when i query from hibernate , it creates query which is run able in DB tool, but at that point nothing happens. i could not understand where control goes? please any body tell me how can i get rid of this.

Thanks in Advance
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is being returned to Hiberante? Is there an exception? Is null being returned? Are you getting a list with zero records.

My guess is it's a problem that has a solution. If you can give us more information, maybe we can get closer to the solution.

-Cameron McKenzie
 
Asheesh Nehra
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply, when control reach at session.createQuery(qry).list then nothing happens after word , i check the query show at console which is executable, but no control after above mentioned line.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic