NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
harini19
Joined: 29 Apr 2009 Posts: 28 Location: India
|
Posted: Tue May 19, 2009 9:48 am Post subject: Javax.el.PropertyNotFoundException |
|
|
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 |
|
 |
|
|
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
|
|