[jboss-user] [EJB 3.0] - Re: Illegalargumentexception on calling namedquery
jaikiran
do-not-reply at jboss.com
Tue Jun 3 05:50:01 EDT 2008
"aukenoppe" wrote :
|
| Query q = getEm().createNativeQuery("SELECT object(u) FROM User u WHERE "
| | + col + " LIKE :value", User.class).setParameter("value", value);
|
|
Change this to:
Query q = getEm().createQuery("SELECT object(u) FROM User u WHERE "
| + col + " LIKE :value").setParameter("value", value);
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4155255#4155255
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4155255
More information about the jboss-user
mailing list