ObjectDB Database Search

1-50 of 166 results

Implement "equals" method

Will something unexpected happen, if I implement my own " equals " method for my entities? e.g ... DB requests and they fail to be equal (why actually?). Thus both of them are in the Set, where actually there should be only one (the same). itsme Martin Petzold ObjectDB does not use the equals

java.sql.Date equals comparison not working with CriteriaAPI

Hello, Using ODB 2.4.5 and the Criteria API, doing a simple equals comparison with java.sql.Date ... = ...; Root root = ...; java.sql.Date myDate = ...; Predicate predicate = builder. equal (root ... ;      Predicate predicate = cb. equal (root.get("date"), cb.literal(myDate

jakarta.persistence.criteria.CriteriaBuilder

of its argument, that is, the smallest integer greater than or equal to its argument. Parameters: x ... : or predicate. Since: Jakarta Persistence (JPA) 1.0 Predicate equal ( Expression x , Expression y ) Create a predicate for testing the arguments for equality . Parameters: x - expression y - expression

JPA Query Expressions (JPQL / Criteria)

, isNotEmpty , isMember , isNotMember , size ) Comparison expressions ( equal , notEqual , gt , ge , lt , le

Query Parameters in JPA

filters the query results to Country objects whose name field is equal to :name . The :name identifier

CRUD Database Operations with JPA

is greater than or equal to 100 are deleted. All other Point objects are updated. Chapter 3

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 SELECT FROM com.quasado.foundation.communication

jakarta.persistence.IdClass

.Annotation/ equals (Object) and Annotation.java.lang.annotation.Annotation/hashCode() , defining value equality consistently with equality of the mapped primary key of the database table. The primary key fields ... java.lang.annotation.Annotation annotationType(), equals (Object), hashCode(), toString()

jakarta.persistence.EmbeddedId

. The embedded primary key type must implement Annotation.java.lang.annotation.Annotation/ equals (Object) and Annotation.java.lang.annotation.Annotation/hashCode() , defining value equality consistently with equality of the mapped primary key of the database table. The AttributeOverride annotation may be used

jakarta.persistence.criteria.PluralJoin

whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality . Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal

jakarta.persistence.criteria.Path

( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited ... for equality . Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value

jakarta.persistence.criteria.Predicate

equalTo ( Expression value ) Create a predicate to test whether the expression is equal ... testing for equality . Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression

jakarta.persistence.criteria.MapJoin

is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality . Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument

jakarta.persistence.criteria.ParameterExpression

) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality ... whether the expression is equal to the argument. Inherited from Expression Parameters: value - value

jakarta.persistence.criteria.Root

) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality ... whether the expression is equal to the argument. Inherited from Expression Parameters: value - value

jakarta.persistence.criteria.Subquery

( Expression value ) Create a predicate to test whether the expression is equal to the argument ... for equality . Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters

jakarta.persistence.criteria.SetJoin

whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality . Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument

jakarta.persistence.criteria.CriteriaBuilder.Case

whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality . Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument

jakarta.persistence.criteria.CriteriaBuilder.In

to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality . Since: Jakarta ... is equal to the argument. Inherited from Expression Parameters: value - value to be tested

jakarta.persistence.criteria.CriteriaBuilder.Coalesce

whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality . Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument

jakarta.persistence.criteria.CollectionJoin

a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality . Since: Jakarta ... is equal to the argument. Inherited from Expression Parameters: value - value to be tested

jakarta.persistence.criteria.Expression

is equal to the argument. Parameters: value - expression to be tested against Returns: predicate testing for equality . Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument. Parameters: value - value

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase

whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality . Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument

jakarta.persistence.criteria.ListJoin

whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality . Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument

jakarta.persistence.criteria.From

is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality . Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument. Inherited from

jakarta.persistence.criteria.Join

a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality ... whether the expression is equal to the argument. Inherited from Expression Parameters: value - value

jakarta.persistence.PersistenceUnitTransactionType

), describeConstable(), equals (Object), finalize(), getDeclaringClass(), hashCode(), name(), ordinal(), readObject ... inherited from java.lang.Object clone(), equals (Object), finalize(), getClass(), hashCode(), notify

jakarta.persistence.FlushModeType

(), equals (Object), finalize(), getDeclaringClass(), hashCode(), name(), ordinal(), readObject ... from java.lang.Object clone(), equals (Object), finalize(), getClass(), hashCode(), notify(), notifyAll

jakarta.persistence.GenerationType

.Enum clone(), compareTo(E), describeConstable(), equals (Object), finalize(), getDeclaringClass ... (Class,String) Additional JDK methods inherited from java.lang.Object clone(), equals (Object), finalize

jakarta.persistence.LockModeType

from java.lang.Enum clone(), compareTo(E), describeConstable(), equals (Object), finalize ... (), toString(), valueOf(Class,String) Additional JDK methods inherited from java.lang.Object clone(), equals

jakarta.persistence.InheritanceType

), describeConstable(), equals (Object), finalize(), getDeclaringClass(), hashCode(), name(), ordinal ... inherited from java.lang.Object clone(), equals (Object), finalize(), getClass(), hashCode(), notify

jakarta.persistence.ConstraintMode

), describeConstable(), equals (Object), finalize(), getDeclaringClass(), hashCode(), name(), ordinal(), readObject ... inherited from java.lang.Object clone(), equals (Object), finalize(), getClass(), hashCode(), notify

jakarta.persistence.DiscriminatorType

java.lang.Enum clone(), compareTo(E), describeConstable(), equals (Object), finalize ... (), valueOf(Class,String) Additional JDK methods inherited from java.lang.Object clone(), equals

jakarta.persistence.FetchType

JDK methods inherited from java.lang.Enum clone(), compareTo(E), describeConstable(), equals (Object ... .Object clone(), equals (Object), finalize(), getClass(), hashCode(), notify(), notifyAll(), toString

jakarta.persistence.EnumType

(), compareTo(E), describeConstable(), equals (Object), finalize(), getDeclaringClass(), hashCode(), name ... ) Additional JDK methods inherited from java.lang.Object clone(), equals (Object), finalize(), getClass

jakarta.persistence.criteria.Predicate.BooleanOperator

inherited from java.lang.Enum clone(), compareTo(E), describeConstable(), equals (Object), finalize ... (), equals (Object), finalize(), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(), wait

jakarta.persistence.criteria.Nulls

), describeConstable(), equals (Object), finalize(), getDeclaringClass(), hashCode(), name(), ordinal ... JDK methods inherited from java.lang.Object clone(), equals (Object), finalize(), getClass

jakarta.persistence.metamodel.Attribute.PersistentAttributeType

), describeConstable(), equals (Object), finalize(), getDeclaringClass(), hashCode(), name(), ordinal(), readObject ... inherited from java.lang.Object clone(), equals (Object), finalize(), getClass(), hashCode(), notify

jakarta.persistence.metamodel.Bindable.BindableType

), describeConstable(), equals (Object), finalize(), getDeclaringClass(), hashCode(), name(), ordinal ... inherited from java.lang.Object clone(), equals (Object), finalize(), getClass(), hashCode(), notify

jakarta.persistence.metamodel.PluralAttribute.CollectionType

inherited from java.lang.Enum clone(), compareTo(E), describeConstable(), equals (Object), finalize ... (), equals (Object), finalize(), getClass(), hashCode(), notify(), notifyAll(), toString(), wait

jakarta.persistence.ValidationMode

), describeConstable(), equals (Object), finalize(), getDeclaringClass(), hashCode(), name(), ordinal(), readObject ... inherited from java.lang.Object clone(), equals (Object), finalize(), getClass(), hashCode(), notify

jakarta.persistence.metamodel.Type.PersistenceType

(), compareTo(E), describeConstable(), equals (Object), finalize(), getDeclaringClass(), hashCode(), name ... ) Additional JDK methods inherited from java.lang.Object clone(), equals (Object), finalize(), getClass

jakarta.persistence.criteria.CriteriaBuilder.Trimspec

(), compareTo(E), describeConstable(), equals (Object), finalize(), getDeclaringClass(), hashCode ... ) Additional JDK methods inherited from java.lang.Object clone(), equals (Object), finalize

jakarta.persistence.criteria.JoinType

methods inherited from java.lang.Enum clone(), compareTo(E), describeConstable(), equals (Object ... .Object clone(), equals (Object), finalize(), getClass(), hashCode(), notify(), notifyAll(), toString

jakarta.persistence.AccessType

(), equals (Object), finalize(), getDeclaringClass(), hashCode(), name(), ordinal(), readObject ... from java.lang.Object clone(), equals (Object), finalize(), getClass(), hashCode(), notify(), notifyAll

jakarta.persistence.CascadeType

) Additional JDK methods inherited from java.lang.Enum clone(), compareTo(E), describeConstable(), equals ... java.lang.Object clone(), equals (Object), finalize(), getClass(), hashCode(), notify(), notifyAll

jakarta.persistence.CacheRetrieveMode

(), equals (Object), finalize(), getDeclaringClass(), hashCode(), name(), ordinal(), readObject ... from java.lang.Object clone(), equals (Object), finalize(), getClass(), hashCode(), notify

jakarta.persistence.criteria.CriteriaBuilder.ge(Expression,Expression)

whether the first argument is greater than or equal to the second. Parameters: x - expression y - expression Returns: greater-than-or- equal predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.lessThanOrEqualTo(Expression,Expression)

whether the first argument is less than or equal to the second. Parameters: x - expression y - expression Returns: less-than-or- equal predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.lessThanOrEqualTo(Expression,Y)

whether the first argument is less than or equal to the second. Parameters: x - expression y - value Returns: less-than-or- equal predicate. Since: Jakarta Persistence (JPA) 1.0