Hi Dan,

Thank you once again for sharing your great EJB erudition.

Saturday, September 30, 2000, 12:24:06 AM, Dan OConnor wrote:

DO> On 29 Sep 00, at 23:47, Oleg Nitz wrote:

>> But I foresee the next problem. For HIGH/LOW key generator I would
>> like to get the additional Connection, to write new value to the
>> database table holding occupied key values and to commit
>> this modification *immediately*, whether the main transaction will
>> commit or rollback. Is it possible with EJB CMT?

DO> I believe the standard way to do this is to have a session bean 
DO> method with a "requires new" transaction attribute. Hope this
DO> helps. 
Sure. In standard conditions.
This all happens "inside" jBoss since CastorJDO is an MBean serving as
a bean resource manager. Probably, it should create a new transaction
"from inside" as if it was a session bean method with a "requires new"
transaction attribute, right? 

Regards,
 Oleg        



Reply via email to