1 Reply Latest reply on Sep 13, 2004 2:31 PM by pedrosalazar

    Invalidate RO+RW beans (questions)

    pedrosalazar

      Greetings,

      I'm trying to invalidate my read-only entity beans by updating the read-write mate.
      But isn't working...

      Can you comment the following issues:

      -primary key class of read-only and read-write must be the same or not? I tested with the same and different ones but always pointing to the same CMP field.

      - both entity beans (read-only and read write) extends the configuration "Standard CMP 2.x EntityBean with cache invalidation" however the RO have the commit option A and the RW the commit option C. Is this correct?

      - what kind of transaction types are required? I used the default ones (supports) but I tried a few other combinations of other types of transactions but without luck.

      BTW, I can send a sample test case that shows my not working case (10kbytes tar file) if it helps to debug my problem. And if any of you have a working sample, be free to send it to me.

      Thanks,

      Regards,
      Pedro Salazar.