Hi Vinay,

> This basically means that even within the same transaction the 
> rowid will be updated if the client attempts to do an update 
> [or delete].

> Do we now need to check for rowid being null and falling back 
> to the primary key if it is not? I had written some code for 
> this and was surprised that it was never being called.  

Which commit option was set for your entity bean? If it were B 
or C, it's clear, that the instance is loaded within a TX, but
with A and with B (outside TX) the load should NOT happen, thus
the check for a null rowidValue would be better.

regards
Georg
 ___   ___
| + | |__    Georg Rehfeld      Woltmanstr. 12     20097 Hamburg
|_|_\ |___   [EMAIL PROTECTED]           +49 (40) 23 53 27 10



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to