[jboss-user] [JBoss Seam] - Re: How to modify the messages example to connect to Oracle

fhh do-not-reply at jboss.com
Thu Feb 1 16:48:16 EST 2007


Hello!


  | javax.faces.el.EvaluationException: Cannot get value for expression '#{messageList.rowCount==0} 
  | 

This is not the real exception but the one that came out of the application stack. 

I assume the real problem is that you are trying to execute a sql query through the entity manager instead of defning entity beans and using EJBQL.

You can use bare SQL but then you have to inject a datasource into your session bean using the @Resource annotation. 

Regards

Felix

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

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



More information about the jboss-user mailing list