BUGFIX: Entity remove with no TX

Several people have written in about the remove method of CMP EntityBeans not working correctly when there is not transaction in progress. Jacek Laskowski, the author of our wonderful CMP documentation, has found and fixed the problem. Thanks Jacek!

The fix is in the 0.9 stable branch and will be released with OpenEJB 0.9.2 in a month or so. The 0.9.2 branch (which is a bug fix only branch) can be checked out and built safely as a replacement for the 0.9.1 version released in January. To do so, use the following cvs command:

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/openejb login

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/openejb co -r v0_9 openejb

When prompted for a password for anonymous, simply press the Enter key.

When you get all the source on your machine, move into the openejb directory and issue the following command to build the project:

Windows --> openejb.bat build
Linux --> ./openejb.sh build

On Linux or Unix machines, you will actually have to chmod the .sh files before they become executable.

Posted by David Blevins 2003-02-12