• Post Reply Bookmark Topic Watch Topic
  • New Topic

Transaction problem in MDB  RSS feed

 
Vincent Lo
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I've encountered a corrupt data problem when using MDB with session bean, the scenario is like below.
A MessageDrivenBean receive a MessageVO, it invokes methodA() of SessionBean (RequiresNew) for perform business logic. It will update the entity bean's attribute as well. (it has a byte array field for storing the binary data).
After the methodA() completed, the MDB will then retrieve the same entity bean's content using entitybeanhome.findByPrimary() for sending email.

The problem is the data field is got smaller (should be 20k, but now just 384 bytes).
Anyone know why this happen?

Thanks in advance for your help
[ May 23, 2005: Message edited by: Vincent Lo ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!