• Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.persistence.NoResultException  RSS feed

 
Victor Ade
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting this exception:




which [going by the exception] is from this block of code:





however, i can't seem to figure out why or what i have done wrong in my @NamedQuery insert statement to resolve this issue.
Here's my Entity class:




What could be wrong?
 
Rob Spoor
Sheriff
Posts: 20879
71
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just a guess, but could it be the case that there are no records for that link?

(I'm assuming the referenceLinks property vs the refLinks in the query is a copy-paste error of some kind.)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!