ObjectDB Database Search

101-139 of 139 results

Date field Index is corrupted due to time change

;       public boolean equals (Object o) {       ... ;       return id. equals (other.getId()) && version. equals

Wrong data stored in time only fields

;              public boolean equals (Object ... other = (DateTime)o;             return id. equals (other.getId()) && version. equals (other.getVersion());         }   

Does ObjectDB support lazy loading?

;          if (args[0]. equals ("persist")) {     ... ; System.out.println(id); } else if (args[0]. equals ("find")) {       

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

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

Field in Generic Class not persisted?

; @Override     public boolean equals (Object x) {        ... ;      return Objects. equal (obj.valueInGenericClass, valueInGenericClass

Question about modification

.next();                 if (campo. equals (Id)) {     ... ;       if (campo1. equals (matrícula)) {            

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

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

String Encoding Issue

equals ) then this will require a fix of ObjectDB. Otherwise, this issue is probably not related

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

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

JPA does not seem to be db agnostic

.where(criteriaBuilder. equal (path, username)); return em.createQuery(query).getSingleResult(); } kasavbere kasav

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

Query in JPA2 with LEFT JOIN on INNER JOIN

]=actionDescriptionSelection; Predicate masterPredicate = cb.conjunction(); Predicate predicateOnPath = cb. equal (root

openejb jpa jaas module

.getPassword(); if(password. equals (pass)) { succeeded = true; return true; } else { succeeded = false; return

Threading Problem (maybe with Criteria)

.class,person.get("m_uid"),person.get("m_udb"))); cquery.where(cbuilder. equal (person. get("m_age"), 50

Query on Embedded Primary Key?

; @Override     public boolean equals (Object obj) {       

JPA CriteriaQuery -- Iterate Expression>

. equal (status,value) ); Any help greatly appreciated... toriacht Walter R There is no direct query

Conditional Selection

... ArrayList list = new ArrayList (); for(Employee emp : Employee.allEmployees()) if(emp.getMiddleName. equals

Query can't see recently persisted object

); query.setParameter("oid", oid); if ("-62e6083d:1612795a01c:-6e65". equals (oid)) { logger.debug

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 Method NullPointerException on List iteration

count = 0; for (Product p : products) { if (p.getCategory().getCategoryName(). equals (categoryName

Eager Fetch of Map with Entities as Keys

Loading eagerly a map that uses entity objects as keys is currently unsupported, if the equals ... ;      public boolean equals (Object obj) {             return name. equals (((MyKeyEntity)obj).name);    

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

ObjectDB 2 JDO Manual

at designing ObjectDB would be able to build an equally superior native API. Notwithstanding the issues

Issue with TYPE expression in Criteria API

;   cq.select(e);         cq.where(cb. equal (e.type(), cb

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

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

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

Unlimited JPA Persistable Types

is a proprietary database, surely this could be introduced by adding some sort of equals () override? ThreaT

Null pointer exception being thrown from within ObjectDB.

;               cb. equal (r

ClassCastException in Tuple.get

(true); cq.where( cb. equal (joinProvidingPerson, storedProvidingPerson) ); TypedQuery query = em

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

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

Logical "or" works not correcly when field is @Id and first position

;  builder. equal (root.get("a"), "1"),