Comparison operators in Hibernate

hibernate-thumbnail

Comparison operators HQL supports all the operators used in the SQL language. But, Criteria API doesn’t support the arithmetic expressions. Apart from that, it is easy to use other operators in the Criteria API itself. This tips provides few basic example programs on using the operators. JavaBeatHibernateExample.java also read: Introduction to Hibernate Hibernate Interview Questions […]

NULL and NOT NULL comparison in the Hibernate API

hibernate-thumbnail

null and not null check While checking for the null and not null values in the Hibernate API, we have to be careful and there is chance for misunderstanding. This tips explains how to compare the null values in the Hibernate query. also read: Introduction to Hibernate Hibernate Interview Questions Interceptors in Hibernate Hibernate Books […]