Microsoft
Software
Hardware
Network
Question : Hibernate HQL question
I'm a newbie to Hibernate:
Suppose in my Dao methdod:
@Override public List<client> getCilentRecord(Integer clientId) {
List<client> clients = getHibernateTemplate().fin
d(
"from clientRecord where clientId =?", clientId);
...
createdDate field is defined as datetime in the hibernate table.
Now I want to display today's data (createdDate = currentdate). how could I revise the HQL query above? Thanks for any hint.
Answer : Hibernate HQL question
"from clientRecord where clientId =? and createdDate=?", clientId, new Date());
Random Solutions
Required Field Validator for 2 controls
two things with CSS menu
Upgrade Sqlite in RHEL5.4
Integrating projects
Calender applications.....
OMA problem in Exchange 2010 - HTTP Error 500.24
Which is better G711 alaw, or GSm codecs
Folders UNIDs and Duplicates
Motherboard driver CD for HCL - P5GD2-TVM/GB/SI
OpenOffice 3.2 GPO Install Problem