QueryDSL - select rows with date from timestamp column -


using querydsl - there way select rows date timestamp other using .between? query:

where convert(date, mytimestamp) = '2013-02-28'

you can either use between or custom expression if use querydsl sql

something this

dateexpression<date> converted = datetemplate.create(date.class, "convert(date, {0})", mytimestamp); 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -