0 Replies Latest reply on Oct 12, 2001 2:19 AM by Markus Menner

    Problems with ClientUserTransaction

    Markus Menner Newbie

      Hi!

      I tried to use UserTransactions on client side.

      I am using the MVCSoft persistance manager with Oracle.

      The code looks about like this:

      InitialContext ctx = new InitialContext();
      Object ref = ctx.lookup("UserTransaction");

      ut = (UserTransaction) PortableRemoteObject.narrow(ref,
      UserTransaction.class);

      ut.begin();
      ...
      some method invocations on a BMP bean
      ...
      ut.commit();

      The problem is, that the status of the BMP bean isn't committed to the database, even though the transaction is commited.

      When I issue the method invocations without client transaction (they have "required" as transcation attribute) everything works fine.

      Does anyone have an idea ?