-->
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: Handling Date Time using Nhibernate for oracle and sqlserver
PostPosted: Wed Mar 14, 2007 5:07 am 
Beginner
Beginner

Joined: Wed Aug 30, 2006 2:06 am
Posts: 24
I am trying to select records from a table with date in the where clause.
I am passing the date as mm/dd/yyyy and the records are returned in sqlserver. But when I execute the same query in oracle, I am getting an error.

ORA-01843: not a valid month.

How to handle query with date in both oracle and sql server to work with HQL?

Any help in this regard is appreciated....


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.