ObjectDB Database Search
101-139 of 139 resultsConflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne); this.container = parent; } @Override public boolean 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 | |
Wrong data stored in time only fields; public boolean equals (Object ... other = (DateTime)o; return id. equals (other.getId()) && version. equals (other.getVersion()); }   | |
Criteria Query results in a NoResultException instead of returning object. equal ( root.get(identityNameProp.getName()), obj ... (builder. equal (root.get(identityNameProp.getName()), obj.getName())); To build a query that is equivalent ... (); predicates.add(builder. equal (root.get("name"), "demo")); criteria.where(predicates.toArray(new | |
Does ObjectDB support lazy loading?; if (args[0]. equals ("persist")) {   ... ; System.out.println(id); } else if (args[0]. equals ("find")) {   | |
NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1 hash; } @Override public boolean equals (Object object) { // TODO: Warning - this method won't work in ... != null && !this.id. equals (other.id))) { return false; } return true; } @Override public String toString | |
How to use regular expressions in Criteria Builder = q.from(TempPhysicalPart.class); q.select(c).where(cb. equal (c.get("details").get("partNumber"), "82382")); q.select(c).where(cb. equal (c.get("details").get("serialNumber | |
Question about modification.next(); if (campo. equals (Id)) {   ... ; if (campo1. equals (matrícula)) {   | |
CriteriaQuery using isNotNull with other conditions results in InternalException. equal (root.get("to"), identityObject)); predicates.add(builder. equal (root.get("relationshipType | |
Failed to generate dynamic type next laconic error, probably MullPointerException is raised from that line, NPE has message equal ... and message, it is hard to improve error, having only message which is equal to null thank you, we will check 2.2.8_08 Tomasz Tomasz Wozniak | |
Object comparation never matches (entity classes and embeddable classes) can be compared by using the equality operators ... . After such a change, old objects and new objects will not be considered as equal . support Support I'll consider | |
Attempt to store an instance of a non persistable type() { return this.dateTime + " " + this.level + " " + this.message; } @Override public boolean equals ... ; if(this.getClass() != object.getClass()) return false; return Objects. equals (this.getUuid(), this.getClass | |
Field in Generic Class not persisted?; @Override public boolean equals (Object x) {   ... ; return Objects. equal (obj.valueInGenericClass, valueInGenericClass | |
Query can't see recently persisted object); query.setParameter("oid", oid); if ("-62e6083d:1612795a01c:-6e65". equals (oid)) { logger.debug | |
Conditional Selection... ArrayList list = new ArrayList (); for(Employee emp : Employee.allEmployees()) if(emp.getMiddleName. equals | |
openejb jpa jaas module.getPassword(); if(password. equals (pass)) { succeeded = true; return true; } else { succeeded = false; return | |
Query on Embedded Primary Key?; @Override public boolean equals (Object obj) {   | |
Entity Update - Is the documentation up to date? when a setter is called with the field's current value, I can test for equality inside the setter, like | |
OR not working with isNull Given the following: Predicate isOwnedByUser = cb. equal (root.get("owner").get("id"), userId); Predicate ownerIsNull = cb.isNull(root.get("owner")); Predicate ownerMatchesOrIsNull = cb.or(ownerIsNull, isOwnedByUser); The isNull predicate will only match records when NOT inside the OR predicate | |
Query in JPA2 with LEFT JOIN on INNER JOIN]=actionDescriptionSelection; Predicate masterPredicate = cb.conjunction(); Predicate predicateOnPath = cb. equal (root | |
String Encoding Issue equals ) then this will require a fix of ObjectDB. Otherwise, this issue is probably not related | |
JPA CriteriaQuery -- Iterate Expression | |
JPA does not seem to be db agnostic.where(criteriaBuilder. equal (path, username)); return em.createQuery(query).getSingleResult(); } kasavbere kasav | |
Query Method NullPointerException on List iteration count = 0; for (Product p : products) { if (p.getCategory().getCategoryName(). equals (categoryName | |
Query to search for common elements in two separate collections. for equality . The hash code of every stored collection should be stored in an indexed field, possibly | |
Master database switching to read-only mode, possibly caused by slave failure would impact write and read requests equally , so it is highly unlikely. Could you please explain | |
Threading Problem (maybe with Criteria).class,person.get("m_uid"),person.get("m_udb"))); cquery.where(cbuilder. equal (person. get("m_age"), 50 | |
Tracking changes to new collections (in enhancement mode) after flush ModelElementImpl() { } public String getUid() { return this.uid; } @Override public boolean equals (Object obj) { return uid. equals (((ModelElementImpl)obj).getUid()); } @Override public int hashCode | |
Unlimited JPA Persistable Types is a proprietary database, surely this could be introduced by adding some sort of equals () override? ThreaT | |
Issue with TYPE expression in Criteria API; cq.select(e); cq.where(cb. equal (e.type(), cb | |
ObjectDB 2.6.0 Added support of JPA 2.1 persistence.xml and orm.xml formats. Added implementation of equals to JPA Metamodel attributes. Fixed ObjectDB OSGi bundle to support enhanced classes. Fixed handling class loader switch (avoiding automatic database close and reopen). Fixed a NullPointerException | |
Enhancing a class causes it to not save changes. if you had equally magical and completely on-point advise on how to figure out why ObjectDb is holding | |
Null pointer exception being thrown from within ObjectDB.; cb. equal (r | |
ObjectDB 2 JDO Manual at designing ObjectDB would be able to build an equally superior native API. Notwithstanding the issues | |
Logical "or" works not correcly when field is @Id and first position; builder. equal (root.get("a"), "1"),   | |
StaticMetamodel throws NPE with Spring-Data in PathImpl.get(); return cb. equal (benutzerName, benutzername); } };] from | |
preUpdate-methods are called when there is no change;persistent HashMap ) should have a meaningful hashCode and equals methods based on the object id or | |
ClassCastException in Tuple.get(true); cq.where( cb. equal (joinProvidingPerson, storedProvidingPerson) ); TypedQuery query = em | |
Different behavior for casting and not casting.MitgliedVertraegeFragment') IS NOT NULL Query #2 which is equal to the previous one though includes a casting and returns | |
criteria api / embedded objects / where order me understand the problem? thank you and best regards Arne PS.: in the example I didn't implement equals |