• Post Reply Bookmark Topic Watch Topic
  • New Topic

no any errors occured but database hasnt changed  RSS feed

 
Benjamin Ho
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everybody,
please help me to solve a problem. I am doing a test that a client calls a local entity bean but a client should call a remote session bean first then the session bean would call the local entity bean to insert a row information to mysql's database. The whole testing with many interfaces and class. All of them is successfully compiled and runs but there is no any change in database. But i sure the abstract accessor method's names that are same as field name with ejb-jar.xml and jbosscmp-jdbc.xml and database field's name.
In fact, what errors/problems existing on the program do you think.
Please tell me why and how to solve them.
Best regards,
Benjamin
 
Marco Barenkamp
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
make sure the the ejbStore is invoked. You can try to set the REQUIRED or REQUIRED NEW flag on each method.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!