This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: JPA query problem
 
It's not a secret anymore!