On Fri, Dec 23, 2011 at 8:52 AM, Selcuk AYA <[email protected]> wrote: > On Thu, Dec 22, 2011 at 5:30 PM, Emmanuel Lecharny <[email protected]> > wrote: >> Hi, >> >> I'm facing some interesting issue : while trying to add txns to the Bind >> operation, I realized that we don't have such a method in CoreSession : it's >> only present in the OperationManager class. >> >> At this point, I do think that tcns should be handled at this level, not at >> the CoreSession level (anyway, there is a one to one relation between >> CoreSession and OperationManager). > > It is not essential to put the txn boundaries to CoreSession. You can > definitely put them to OperationManager. The only reason I suggested > CoreSession was there are may tests which call CoreSession interface > directly to execute operations. If you do not put the boudaries to > CoreSession, you will need to put txn boundaries to every place that > callss CoreSession directly. >
Also if you put the boundaries to CoreSession, you can still put txn boundaries to bind operation somewhere above CoreSession. >> >> I'll let you know what it heads to... >> >> -- >> Regards, >> Cordialement, >> Emmanuel Lécharny >> www.iktek.com >> > > regards > Selcuk
