Hi,

in your named query, you have to use the name of the entity bean class, not the 
table name.
So it should be "SELECT a FROM Artikel a ORDER BY a.Artnr".

If the property has getter/setter "getArtnr"/"setArtnr", it has to be named 
"Artnr" in the query.

Hope this helps

Wolfgang

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267277#4267277

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267277
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to