Home » Search

About equals

71-80 of 114Refresh
Forum
3

Searching lists within objects

.and(                     cb.equal(attributeValuesJoin.get("value"), "Alex"),                     cb.equal ... .equal(attributeValuesJoin2.get("value"), "Baldwin"),                     cb.equal(attributeJoin2
Forum
3

TYPE Expression

.equal(e.type(), cb.literal(Country.class)); results in the error: Caused by: com.objectdb.o ... string equals etc. work just fine? thanks for any help! PS: Using ODB 2.3.3 Alex Hi, Note ... .createQuery();         Root e = cq.from(A.class);         cq.select(e);         cq.where(cb.equal(e
Issue
3

Use temporary files to enable very large transactions

     public boolean equals(Object obj) {          if (obj instanceof ModelElement && this.getUid() != null) {              return this.getUid().equals(((ModelElement)obj).getUid());          }          return super.equals(obj);      }      @Override      public final String getUid
Forum
2

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

equals(Object o) { if(!(o instanceof CompoundKeyMapItemId)) return false; CompoundKeyMapItemId other = (CompoundKeyMapItemId) o; return container.equals(other.container) && cachedKey.equals(other.cachedKey); } @Override public int hashCode() { //Follow bloch Item 8. int
Forum
2

Criteria Query results in a NoResultException instead of returning object

>(); predicates.add(builder.equal(         root.get(identityNameProp.getName()), obj.getName ... (builder.equal(root.get(identityNameProp.getName()), obj.getName())); To build a query that is equivalent ... (); predicates.add(builder.equal(root.get("name"), "demo")); criteria
Forum
2

Date field Index is corrupted due to time change

(mapToCli);             setMapFromCli(mapFromCli);          }                 public boolean equals ... other = (DateTime)o;             return id.equals(other.getId()) && version.equals(other.getVersion
Issue
2

Eager Fetch of Map with Entities as Keys

Loading eagerly a map that uses entity objects as keys is currently unsupported, if the equals and hashCode methods of the keys are based on the key entity persistent content, since that content ...         public boolean equals(Object obj) {             return name.equals(((MyKeyEntity)obj).name
Forum
2

Wrong data stored in time only fields

(d));             setStartTime(getTimeOf(d));          }                 public boolean equals ... other = (DateTime)o;             return id.equals(other.getId()) && version.equals(other.getVersion
Forum
2

CriteriaQuery using isNotNull with other conditions results in InternalException

predicates = new ArrayList(); predicates.add(builder.equal(root.get("to"), identityObject)); predicates.add(builder.equal(root.get("relationshipType
Forum
2

Database size is much larger than expected (x2)

; @Override public boolean equals(Object obj) {   if (obj instanceof Uris){    Uris u = (Uris)obj;    if (sUrl.equals(u.getsUrl()) && iSize==u.getiSize())     return true;    else     return