0 Replies Latest reply on Oct 7, 2003 2:48 AM by Leonid Maksimshin

    How to serialize creation of the same object?

    Leonid Maksimshin Newbie

      Hello, guys! Very sorry if I'm asking something obvious, but still I did not encounter answer anywhere.

      I'm using CMP to manage object "Object" and must registrate the one from different events that arrives almost at the same time. So when I try to realize through finder if object exists, finder answer NO. My next step is to create CMP Bean "Object" whith new unique ID. At the same time another thread is doing the same steps and I have duplicate records in database whith unique PK, but duplicated by sense.
      The question is how can I serialize this situation throgh application server?