problem in date column with hibernate hql query -


i hav hql query..it gets data used between 2 dates..i wriiten query this
com.cod.model.billing datecolumn between '2011-4-4' , '2011-4-20'

but didn't results query ..i checked out query in mysql sql query.there it's workng fine..but if write same query in hql returns null results can 1 what's problem in query.thanx in advance

the dates mentioned have of type java.util.date , not string


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -