ObjectDB ObjectDB

Internal Website Search

81-90 of 126 resultsRefresh
12

Date field Index is corrupted due to time change

);          }                 public boolean equals(Object o) {             if (this == o ... ;             }             DateTime other = (DateTime)o;             return id.equals(other.getId()) && version.equals(other.getVersion());         }         public int hashCode
12

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
12

Wrong data stored in time only fields

(d));          }                 public boolean equals(Object o) {             if (this == o ... .equals(other.getId()) && version.equals(other.getVersion());         }         public int hashCode
12

Criteria Query results in a NoResultException instead of returning object

>(); predicates.add(builder.equal(         root.get(identityNameProp.getName()), obj.getName ... : predicates.add(builder.equal(root.get(identityNameProp.getName()), obj.getName())); To build a query ... = new ArrayList<Predicate>(); predicates.add(builder.equal(root.get("name"), "demo
9

Does ObjectDB support lazy loading?

.createEntityManager();             if (args[0].equals("persist")) {          em.getTransaction().begin ... ();          Long id = a.id;          System.out.println(id); } else if (args[0].equals("find
9

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

; } @Override public boolean equals(Object object) { // TODO: Warning ... ) object; if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals
9

Database size is much larger than expected (x2)

boolean equals(Object obj) {   if (obj instanceof Uris){    Uris u = (Uris)obj;    if (sUrl.equals(u
9

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"), "00012
9

Question about modification

campo = menu.next(); if (campo.equals(Id)) { menu.next(); System.out.println("Nuevo valor:"); int ... campo1 = menu.next(); if (campo1.equals(matrícula)) { System.out.println("Nuevo valor:"); String
1

Tracking changes to new collections (in enhancement mode) after flush

; } @Override public boolean equals(Object obj) { return uid.equals

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support