openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: openjpa 1.0.4 : entity not updated
Date Fri, 01 Oct 2010 13:21:21 GMT
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 <rudi_welter@hotmail.com> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message