This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
HQL Query : Select max(rfc.lastRunDt) from RunFileControl rfc
I don't see how that query would result in Hibernate setting any date values. I believe it would translate to select max(date_column) from table_name. Do you have "show_sql" enabled in Hibernate? If not, can you enable that and get the SQL that's being generated? Also when you run the following SQL from a database client, what result do you get:
(replace date_column and table_name with appropriate names).