On May 26, 2005, at 4:16 AM, Dibyendu Majumdar wrote:
From: "David Jencks" <[EMAIL PROTECTED]>
ps. I would be sure you never use the same xid twice. I think it
would
be entirely appropriate for derby to object if you do. I didn't see
the implementation in the Utils class so I'm not sure if your xids are
unique or not.
I do use the same Xid in my tests. So far no problem. In any case, as
long
as the Xid is not currently active, would it matter?
If it works, no problem. If the db tracked which xids had been used
and complained if you tried to reuse one, I think you would need to
change your tests. If you are creating a new db for each test (I
didn't look) then also no problem :-)
thanks
david jencks