• Post Reply Bookmark Topic Watch Topic
  • New Topic

Search using criteria query

 
Ankit Chandrawat
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to make a search in the Oracle database in a table having a column for date( with other columns ofcourse). The Date is stored in long format. Now I need to provide a month ( eg January) from UI and using this month I have to query the database to fetch data pertaining to that specific month. This needs to be done using criteria query. Please guide me.

Thanks In Advance
Ankit Chandrawat
 
Anantha Sharma
Ranch Hand
Posts: 43
Android Hibernate jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ankit,

Try this,



Regards,
Anantha Sharma
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!