Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

Could it be a server problem ?

 
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
 
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.
 
Right! We're on it! Let's get to work tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic