users@glassfish.java.net

Re: JPA merge creating new record

From: Markus Fuchs <Markus.Fuchs_at_Sun.COM>
Date: Fri, 06 Jul 2007 09:09:23 -0700

Does your pojo overwrite hashCode or equals?

-- markus.

glassfish_at_javadesktop.org wrote:
> Sahoo, thanks for answering.
>
> The id is auto-generated (sequence - serial column in PostgreSQL database).
> The id is set when putting it in the hashtable (I've printed it out to check).
>
> Marius
> [Message sent by forum member 'mariusw' (mariusw)]
>
> http://forums.java.net/jive/thread.jspa?messageID=225483
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>