In this post I will show you how to use the Hibernate HQL between expression to write and execute some simple HQL queries. HQL is the Hibernate Query Language that allows you to query your Hibernate data layer using similar syntax to the relational database query language SQL. SQL offers a number of operators and...
Tag: date
HQL Date and Datetime Comparison Quick Tip
I’m a big fan of Hibernate and I often use in my projects HQL queries. In this post I will give you some quick tips regarding the use of date and datetime data types in HQL. In a previous post I was looking at the HQL date operator BETWEEN, but in the current post we will...