Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Could it be a server problem ?  RSS feed

 
Herbert Maosa
Ranch Hand
Posts: 289
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ladies and Gentlemen,
I have really tried all I can, gone through the tutorials over and over and over. I am really frustaed and I need someone to help me what I am not able to see in my code that is causing my problem. I have described my problem, plus some code snippets in the theread Please Help Me demistify this . I can not get entity beans to execute, the application is giving a nested javax.transaction.RollbackException. I am now wondering, could it be that MySQL Server ver 4.0.18 does not support transactions?? But I have tried using the pointbase server that comes with the J2EESDK as well and the sitiation is the same.
Could y'all tell me what database servers you are using? What can I do. Everything is ok if I code the bean as a Session Bean.
Please Help
Herbert
 
Ankur Srivastava
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the transaction attribute for your entity bean set to Required or Requires New?? If not set it to one of them and try. It should work.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!