users@glassfish.java.net

Re: WHERE CLAUSE NOT WORKING

From: <glassfish_at_javadesktop.org>
Date: Fri, 02 Nov 2007 08:10:26 PST

Hi,

this is interesting. What is the type of the page_id database column? Is it VARCHAR? If yes, I propose to change the the type of the pageId field to String:
private String pageId;

Then you might want to try the Java Persistence query again and pass a the id value as a string to setParameter.

Regards Michael
[Message sent by forum member 'mb124283' (mb124283)]

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