This content has been marked as final.
Show 2 replies
-
1. Re: How can I prevent sql update statement on cmp-beans ?
stephanenicoll Apr 4, 2004 8:52 AM (in response to claude.glauser)Yes you can preven this. Actually it has been fixed in 3.2.4RCX (1 I think but I am not sure).
To prevent this there is one flag to set to false in your jbosscmp-jdbc.sql : 'check-dirty-after-get'
So on your CreationDate and ModificationDate cmp fields, you should aad :
<check-dirty-after-get>false</check-dirty-after-get>
in the cmp-field section.
If you are using xdoclet, it's not supported for the moment even I submitted a patch about this last week.
Hope it helps,
Stephane -
2. Re: How can I prevent sql update statement on cmp-beans ?
claude.glauser Apr 4, 2004 8:59 AM (in response to claude.glauser)Thanks a lot for your help !