[jboss-user] [EJB 3.0] - a little prombel about using EJB3.0

xiaopang do-not-reply at jboss.com
Fri Mar 14 23:35:57 EDT 2008

i met a promble when i was using EJB3.0.
i'd like to search a part of values from the table, so i used em.createNativeQuery() and the sql statement is 
"select cifno,cifname,idnum from cr_personinfo where rownum <50".
but it can not run properly .here is the error message:
"can not read column value from result set"
so i change the sql statement "select  * cr_personinfo where rownum <50"
it can run properly .
why ?

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136874

More information about the jboss-user mailing list