This post will answer all you questions about how to use HQL current date and other HQL date functions. If it does not, drop me a question with details about your HQL date function related problem and I will try to find the solution for you. Let’s dig in! How To Get Current Date In...
Tag: hql
Hibernate HQL BETWEEN Expression
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...
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...