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: how to get the sysdate from hibernate
PostPosted: Tue Jul 31, 2007 11:08 am 
Newbie

Joined: Tue Jul 31, 2007 11:00 am
Posts: 2
Hi

how to get system date in Hibernate.

Ex. select sysdate from dual;

for the above query how to get the values in hibernate.

kindly help me for the above issues.



Regards
Balakrishnan S.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 01, 2007 2:49 am 
Newbie

Joined: Thu May 17, 2007 5:29 am
Posts: 13
You'll need to use native query or formula
For how to get it in formula check this post:
http://forums.hibernate.org/viewtopic.php?p=2350397&sid=8bf52e172289ff0bfacd959eec90fc9a

_________________
--
Saugata
Please rate if this post helps


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.