[JBoss-user] [EJB 3.0] - Re: @NamedQuery in JBoss 4.0.4

2006-02-23 Thread wesslan
"pimpf" wrote : I can't believe this, I played around with so many scenarios and at the end - I didn't see a 's'. | Cheers mate! Welcome to the club! :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925839#3925839 Reply to the post : http://www.jboss.c

[JBoss-user] [EJB 3.0] - Re: @NamedQuery in JBoss 4.0.4

2006-02-23 Thread pimpf
"wesslan" wrote : Your query is "SELECT c FROM Customers c" but your entity is named Customer (without the s on the end). | Your query should be "SELECT c FROM Customer c". | | Regards Peter I can't believe this, I played around with so many scenarios and at the end - I didn't see a 's'.

[JBoss-user] [EJB 3.0] - Re: @NamedQuery in JBoss 4.0.4

2006-02-23 Thread wesslan
Your query is "SELECT c FROM Customers c" but your entity is named Customer (without the s on the end). Your query should be "SELECT c FROM Customer c". Regards Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925827#3925827 Reply to the post : http://w