Rudi - You going to need to provide more information for us to help you out. Please try posting the relevant parts of your Entity and application code.
Thanks, Rick On Fri, Oct 1, 2010 at 5:03 AM, RudiWelter <[email protected]> wrote: > > 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 >
