Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

GregorianCalendar via Oracle problem

  Asked By: Lewis    Date: Nov 01    Category: Java    Views: 857
  

I'm using heibernate and oracle ,i got problem with Query object where
i want to on search Date field .Here is my part of my code


Query queryObject;
query = "from News as news where news.newsDate >= :beginDate";
queryObject = session.createQuery(query);
//param.getBeginDate() return GregorianCalendar value
queryObject.setCalendar("beginDate",param.getBeginDate());


when i execute code i got an empty list . I dont want use SQLQuery and
To_Date Oracle function.

would you please help me to solve this problem

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on GregorianCalendar via Oracle problem Or get search suggestion and latest updates.