users@glassfish.java.net

Re: The class of the argument for the object comparison is incorrect.

From: <glassfish_at_javadesktop.org>
Date: Wed, 22 Aug 2007 10:19:30 PDT

Thank you!! I thought the persistence provider would automatically use the id of the person object, and I was not aware that you could point to the id field using dot notation in JPQL. Now it seems very obvious (of course).

Thanks again, and you managed to save some strands of hair as well.

You're an angel.

Marius
[Message sent by forum member 'mariusw' (mariusw)]

http://forums.java.net/jive/thread.jspa?messageID=232068