-->
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: Operations sur dates en HQL
PostPosted: Tue Sep 27, 2005 9:12 am 
Newbie

Joined: Thu Jun 02, 2005 4:30 am
Posts: 5
Bonjour a tous,

Je cherche deseperement a effectuer une requete via Hibernate (Criteria ou HQL) qui possederait une clause 'where' dans laquelle un calcul sur des dates serait effectué. Je precise :
where objet.dateExpiration < autreObjet.periodeRenouvellement (en jours) + date_du_jour
Je ne sais pas comment formuler cette clause pour qu'elle fonctionne. Des idées ?

Merci d'avance
Eric


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.