-->
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.  [ 1 post ] 
Author Message
 Post subject: Date Compare Error
PostPosted: Mon Sep 17, 2007 5:28 pm 
Newbie

Joined: Tue Aug 28, 2007 2:09 pm
Posts: 9
Hi,

I want to compare a date against two dates startdate and end date.
Following error is generated while query execution.

org.hibernate.QueryException: Not all named parameters have been set: [00:00] [select co.ID,co.projectID,co.valApprovalDate,p.projectName,p.ID
from ChangeOrder co, Project p
where co.projectID=p.ID and
co.valApprovalDate > Thu Feb 01 00:00:00 PST 2007 and co.valApprovalDate < Wed Feb 28 00:00:00 PST 2007]


Does anybody know about this?

Thanks


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

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.