SeJo wrote:
Hey all,
I can't add mapping files here as it's forbidden by the client.
But i can give a general overview
I have class 1 that can contain multiple class B's .
Upon insertion off my first class, i get the NonUniqueObjectException.
And truly if i look into the object i see that the Class A contains 2 classB's but they have the same id.
The id in the mappingfile is specified with sequence (param name="sequence" value="Name_sequence").
How come my class B's don't get the id's incremented?
I'm using a postgresql db.
thank you
Jochen
What client is forbidding you to include mapping files ?