ObjectDB Database Search

1-50 of 200 results

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

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate equal (    Expression x ,    Expression y ) Create a predicate for testing the arguments for equality . Parameters: x - expression y - expression Returns: equality predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.equal(Expression,Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate equal (    Expression x ,    Object y ) Create a predicate for testing the arguments for equality . Parameters: x - expression y - object Returns: equality predicate. Since: Jakarta Persistence (JPA) 1.0

Comparison in JPQL and Criteria API

- JPQL / SQL Set 2 - Java / JDO Less Than Less Than or Equal To = Equal = == Not Equal != The two sets differ in the Equal and the Not Equal operators. JPQL follows the SQL notation, where Java uses ... . Equality operators (=, , == , != ) on strings in queries follow the logic of Java's equals

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

Metamodel Attribute NOT EQUALS to same Attribute in a different EntityManager

Attribute from Metamodel initialized on @PostConstruct event IS NOT EQUALS of the same Attribute ... and the other on a @Controller @RequestMapping event, they return not equals Attributes using the same entity.   sameAttributeOnPostConstruct. equals (sameAttributeOnController) //is false  

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

Question about overriding default equals and hashcode

Hello Support, I have overrided equals and hashcode method in my entities beans. I don't know ... use  equals and hashCode of entity classes. They could be used, however, if specified explicitly ... " give me some trace like that : org.jvnet.jaxb2_commons.lang. Equals % org.jvnet.jaxb2_commons.lang.HashCode

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 Criteria API Queries

concatenation operations. String based JPQL queries and JPA criteria based queries are equally ... ). Comparison expressions ( equal , notEqual , gt , ge , lt , le , between , isNull , ...) Logical expressions

JPA Query Expressions (JPQL / Criteria)

( equal , notEqual , gt , ge , lt , le , between , isNull , ...) Logical expressions ( and , or , not , isTrue ).

Query Parameters in JPA

is equal to :name , which is a parameter that serves as a placeholder for a real value. Before the query

CRUD Database Operations with JPA

coordinate is greater or equal to 100 are deleted. All the 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

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.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

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

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

jakarta.persistence.criteria.Join

) 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.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

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

from 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

(E), describeConstable(), equals (Object), finalize(), getDeclaringClass(), hashCode(), name ... ) Additional 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