It appears that the code generated for ejbStore for BMP's is not correct when using softlocking. The generated code is:
public void ejbStore() { super.ejbStore(); setVersion( getVersion() + 1 ); dirty = false; } The reason this isn't correct is because the incrementing of the version is done after the call to store to the database, not before. Shouldn't the generated code look like: public void ejbStore() { setVersion( getVersion() + 1 ); super.ejbStore(); dirty = false; } ?? Cheers, Hank Roark _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user