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

Problem in fetch=FetchType.EAGER

 
Moayad Abu Jaber
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I faced weird problem, Now I used to fetch=FetchType.EAGER to eagerly fetching the ManyToOne relationship.

its work fine in web container but when I use the same code in standalone application, thrown to me exception "object references an unsaved transient instance - save the transient instance before flushing"


any idea ?!?!

 
Moayad Abu Jaber
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got the solution, I wasn't configure spring properly
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic