{"message":"No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here","success":false}
I've looked all over Stack Overflow (which I find to be a fantastic site for questions and answers). Then before posting a question there, I looked at the message, specifically where it says "configuration does not allow creation of non-transactional one here." I thought to myself and then looked down at one of several sticky notes I have on my monitor stands... "Annotate" it says. Hmmm.
Where have I seen something about "Transactional" before? OH! It's an annotation! So I added @Transactional to my Dao method that the system was getting hung up on and viola!! Success. Application starts up like normal now! **feeling smart**
Here is the link to my Stack Overflow profile in case you're interested:
http://stackoverflow.com/users/2383389/robyn-paxton
I plan on posting questions there and also commenting in this blog about it. You're also welcome to ask questions about what I'm doing or about a problem you've encountered. I'd be happy to help in any way I can!
No comments:
Post a Comment