ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh

Query results are not up to date for entities, not primitives

When using the CriteriaBuilder to query, the loaded list are not refreshed according to the latest ... side does not any diference. The problem is only solved when changing the query mode, from ... that updates by queries bypass the cache and may result in not being seen by queries: "Updating entity

Not Enhanced: ...: com.objectdb.o.TEX: Type ..._$$_javassist_1 is not found

through @Inject. Both are not entities or anything related to ObjectDB. AuthB is used in a JSF page for login ... enhancement. As you noted, this class is not related to ObjectDB and does not need enhancement

NOT NULL not working

I added a OneToOne Realtionship to one of my entity classes. To give this field a value in my existing datasets i wrote an upgrade method. The cool thing is that SELECT u FROM Unit u WHERE u.lastPosition IS NOT NULL returns no datasets. Is this a bug or am i missing something? mosi0815 Ralph


Method javax.persistence.criteria.CriteriaBuilder Predicate not( Expression<Boolean> restriction ) Create a negation of the given restriction. Parameters: restriction - restriction expression Returns: not predicate Since: JPA 2.0


Enum Constant javax.persistence.spi.LoadState NOT_LOADED The state of the element is known not to have been loaded. Since: JPA 2.0


Method javax.persistence.criteria.Predicate Predicate not() Create a negation of the predicate. Returns: negated predicate Since: JPA 2.0

"is not null" queries not working with index

"is not null"-queries are not working correctly for indexed fields. Following SSCCE creates 1000 ... ());         System.out.println("not null: " + em.createQuery("SELECT COUNT(p) FROM Foo p WHERE p.bar IS NOT NULL ... ;         }     }  } Output: total : 1000 null : 500 not null: 339 Behaviour detected on 64Bit JDK 1.8.0_144

Collection update does not increase entity version and is not persisted

(all classes are enhanced) the version of the event does not increase and the updated event is not stored ... another transaction if this change was written or not. If I change the code to use ... was not exist yet (as of changing attachment to attachments in Event). As a workaround, you may want

[ODB1] Chapter 6 - Persistent Objects

database content, or a transient object, i.e. not related to any database. Storing Objects Explicitly ... is also thrown if the argument to makePersistent(...) is not an instance of a persistent class (as ... collection or array in the database, but not the collection or array itself (unlike passing a collection

[ODB1] Chapter 7 - JDOQL Queries

collection is not specified explicitly, as it is in this query, the entire Extent of the candidate class ... . In such cases, if an Extent is not managed for the candidate class, the query is not valid ... over the objects in the database would not be required, and the query would execute much faster

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