DBTransactionContext::DBTransactionContext(DBSessionImpl *impl) :
  token(0),
  parent(impl),
  next(0),
  ndbTransaction(0),
  tcNodeId(0)
{
  setJsWrapper(this);
  emptyOpSet = new DBOperationSet(this, 0);
  emptyOpSetWrapper = getWrappedObject(emptyOpSet);
}
TransactionImpl::TransactionImpl(SessionImpl *impl) :
  token(0),
  parent(impl),
  next(0),
  ndbTransaction(0),
  tcNodeId(0)
{
  setJsWrapper(this);
  emptyOpSet = new BatchImpl(this, 0);
  emptyOpSetWrapper = getWrappedObject(emptyOpSet);
}