Marco,
        Without seeing the EJB, I do know that CMP EJBs usually have a
transaction associated with them.  If this is the case, the database records
referenced in the EJB are locked and probably can't be deleted from the DB
until the transaction finishes.  I ran into problems with this a few days
ago but again, this is only speculation since I don't see the EJB code.
Take care, Jeremy

-----Original Message-----
From: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 04, 2005 3:27 PM
To: [email protected]
Subject: [openejb-user] Problems with OpenEJB and DBUnit


hello all,
  i am running a set of java test involving some Entity CMP beans.
I am currently running test using openEJB, and my tests populates a
database using Dbunit.

The problem that i have is that the rows created by using an openEJB
entity bean don't get deleted using dbUnit.

Could anyone explain me why? the two calls to db.insert and db.delete
done using dbunit  are done correctly,but the two rows inserted via
the EJB.create method simply don't get deleted..

anyone could help? #
I attach both test cases..

thanx and regards
 marco

_
This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

Reply via email to