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...
Thanx in advance
well... double check your primary keys.