File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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?

[] [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


line #32 is
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: JPA query problem
It's not a secret anymore!