-->
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.  [ 5 posts ] 
Author Message
 Post subject: How to use to_date()to_char() in oracle for HQL
PostPosted: Sun May 23, 2004 3:44 am 
Newbie

Joined: Sun May 23, 2004 3:38 am
Posts: 3
How to use to_date() and har() in oracle for HQL
other like date_format() in mysql for HQl


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 23, 2004 3:57 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
have you tried it with 2.1.3 ?
what error do you get?

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 23, 2004 4:16 am 
Newbie

Joined: Sun May 23, 2004 3:38 am
Posts: 3
does 2.1.3 can resolve this problem

anthony wrote:
have you tried it with 2.1.3 ?
what error do you get?


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 23, 2004 6:32 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
It will not work since the select clause will not currently accept multiple argument db functions. There has been a lot of work on a new parser which will make this tivial to fix. Expect it as apart of the v2.2/v3.0 efforts.


Top
 Profile  
 
 Post subject: Re: How to use to_date()to_char() in oracle for HQL
PostPosted: Thu Apr 18, 2013 5:17 am 
Newbie

Joined: Thu Apr 18, 2013 5:04 am
Posts: 4
you can use the concatenation of concat(year(),month(),day())


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.