About equals

manual

Comparison in JPQL and Criteria API

Explains how comparison operators can be used in JPQL queries, including in comparing null values.... ) on strings in queries follow the logic of Java's equals , comparing the content rather than the identity. Date ... , != ) on date values in queries follow the logic of equals , comparing the content rather than the identity. ...

 
api-jdo

equals(obj)

Check the class and class name and object type.(Method of javax.jdo.identity.SingleFieldIdentity)

 
api-jpa

equal(x, y)

Create a predicate for testing the arguments for equality.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

equal(x, y)

Create a predicate for testing the arguments for equality.(Method of javax.persistence.criteria.CriteriaBuilder)

 
doc

equals(arg0)

(Method of java.security.Permission)

 
doc

equals(arg0)

(Method of java.security.BasicPermission)

 
issue

Different behavior for two equal queries

Hi, I've got two equal queries though they behave differently: SELECT FROM com.quasado.foundation.communication.contact.individual.IndividualContact $1 WHERE (($1.organisation.name LIKE '%Q%')) This correctly returns one entry from my database Bug Version: 1.04 Priority: Normal Status: Closed Replies: 4 Type:  Bug ...

 
api-jpa

javax.persistence.criteria.CriteriaBuilder

Used to construct criteria queries, compound selections, expressions, predicates, orderings.(Interface of JPA)

 
api-jdo

equals(other)

Return whether this instance is equal to the other.(Method of javax.jdo.FetchGroup)

 
api-jdo

equals(obj)

Determine if the other object represents the same object id.(Method of javax.jdo.identity.ShortIdentity)