These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: IS THIS JOIN QUERY CORRECT
PostPosted: Fri Aug 04, 2006 6:46 am 
Newbie

Joined: Tue Aug 01, 2006 8:31 am
Posts: 6
Hi All,

Here i am sending some join query it was giving NullPointerException.
Please help me out.
name and DOB are fields of User table.
noOfAttempt and user_id(primary key of User table) is the fields of Allotment Table.

i need to sort the records in the allotment table


FROM org.bda.api.alt.dto.Allotment allotInfo inner join org.bda.api.alt.dto.User as usr order by allotInfo.noOfAttempt,usr.userDob


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 04, 2006 7:34 am 
Regular
Regular

Joined: Wed May 05, 2004 3:41 pm
Posts: 118
Location: New Jersey,USA
Please post the code snippet. Follow the Forum posting guidlines and provide all the information.

Also please reply to the original posting rather than create a new one. You can do that by clicking on "post reply".


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


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

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.