Hi,

> Hey

> It seems as though the current generated BMP layer always calls 
> ejbStore() on the superclass regardless of the dirty flag.

> Is this intentional?

No, I did merge the CMP and BMP .j to avoid duplicate code.  
I made the quick assumption that CMP was better and take it its .j
content to build the common .j.
Now I understand that BMP was better in some place and ejbStore is 
the perfect example ;)

> Are we then supposed to check explicitly in our own code for isDirty?

I think your option is better than letting the user having to handling
that.
I can not think of a good example where a user could want to run
ejbStore 
when dirty is false, isModified() is there to avoid this call in CMP
anyway.

> Would there be a problem with reinstating the isDirty check?

I will correct that.

> Not a big deal, but I'm curious about this change. The last version of

> XDoclet I used had an if-statement on the dirty flag before calling 
> super.ejbStore(), and I would prefer that.

> /Rickard

Vincent




_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to