All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.query.criteria.internal.predicate.TruthValue Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.query.criteria.internal.predicate;


/**
 * Models what ANSI-SQL terms a truth value.  Specifically, ANSI-SQL defines TRUE, FALSE and
 * UNKNOWN as truth values.  These truth values are used to explicitly check the result of a
 * boolean expression (the syntax is like a > b IS TRUE.  IS TRUE is the assumed default.
 * 

* JPA defines support for only IS TRUE and IS FALSE, not IS UNKNOWN (a > NULL * is an example where the result would be UNKNOWN). All 3 are provided here for completness. * * @author Steve Ebersole */ public enum TruthValue { TRUE, FALSE, UNKNOWN }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy