my dog learned polymorphism*
The moose likes Object Relational Mapping and the fly likes JPA query problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "JPA query problem" Watch "JPA query problem" New topic
Author

JPA query problem

debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

hi all,

my query is like:

this is working fine with STS 2.7.1 but not working with Netbean 6.9.1, the exception i am getting is like


i am using JDK 1.6, please suggesting what i am missing

Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

Is that the full stacktrace?


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
James Sutherland
Ranch Hand

Joined: Oct 01, 2007
Posts: 553
Something is null, check line #32 in obtainMaxNoteOrderByTrade.

TopLink : EclipseLink : Book:Java Persistence : Blog:Java Persistence Performance
debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

yes, this is the stack track that i am getting

and

line #32 is
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JPA query problem