1 Reply Latest reply on Oct 16, 2002 8:37 AM by Juha Lindfors

    I can't create lots of entity beans of the same type :(

    Paul73 Newbie

      I'm trying to read an xml file and to create entity beans from this data.

      If I'm going to create different types of beans it goes fine but when I try to create two entities of the same type it fails:
      java.lang.IllegalStateException: INSERTING AN ALREADY EXISTING BEAN, ID = [.]

      In practice for one entity created one(or two) fails.

      The ids are unique...

      Any suggestions?
      Thanx in advance