• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate Stale State Exception  RSS feed

sankey jain
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I am encountering an hibernate stale state exception using the following piece of codes

Step 1. List of Emails are got from the View Layer, and are assigned to a hasmap

Now every email has an id associated with it, this is assigned to the session and the story continues

there is a send button which is clicked if the user wants to send out all the emails, the below happens when that is done

Step 2:

Step 3:

Now, Flow continues, and there is a new player, selectedEmailsToSend, which is list, and contains the emails which were chosen by the user ( User does this by using a check box )

Step 4

What we have now is a list of emails to be sent, now we call the function which formats the emails and send them

after each email is sent i do the below, this is where i get the Stale State exception, please help

Above code is where i get the stale state exception, i am really not able to find out the reason, assistance of fellow ranchers required
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!