Hello Friends,

I create a new entity instance (where I annotated the id field with @Id,
@Column(nullable = false), and a generation scheme). When I persist this
object and exit the transactional method, the entity is updated but the id
is always 0 (the value, not null). The problem is that this table doesn't
contain fields which are unique (except the ID as primary key). How can this
be solved. I assumed that it would be the same as e.g hibernate ?

many regards,

Rudi Welter
-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/openjpa-1-0-4-entity-not-updated-tp5590736p5590736.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to