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

Python __call__ special method practical example -

arrays - jQuery - Retrieve values from HTML elements and return their sum -