NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Javax.el.PropertyNotFoundException

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
harini19



Joined: 29 Apr 2009
Posts: 28
Location: India

PostPosted: Tue May 19, 2009 9:48 am    Post subject: Javax.el.PropertyNotFoundException Reply with quote

When I use
em.createQuery("select o from Processtable") it works fine and I can print processName field value from the table

But when I use
em.createQuery("select o.processName from Processtable") it gives the error
javax.el.PropertyNotFoundException: the class 'java.lang.String' does not have the property 'processName'

I checked in the Enitity class Processtable, property 'processName' is there with get and set methods and no change in the case. I'm using Netbeans 6.5, Glassfish and jsf
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo