ObjectDB ObjectDB

Internal Website Search

91-100 of 154 resultsRefresh
9

createQuery method error

Hello, I am learning ObjectDB now. I create a simple Dao method as below: public boolean isJobExist(String name) { TypedQuery<Long> query = em.createQuery( "SELECT count(j) FROM MFJob ... ] TypedQuery<Long> query = em.createQuery( ----------------------------------- Sounds like I am using
9

JPQL keyword in entity - what to do?

] when using query like this: TypedQuery<ResultData> q = em.createQuery( "select new pl ... to this form: TypedQuery<ResultData> q = em.createQuery( "select new pl.hplxtool
9

Listing large number of complicated objects with paging.

. The problem is, that running code that looks like this: TypedQuery<Product> icQuery = em.em ... ().commit();         TypedQuery<MyEntity> query = em.createQuery(             "select e from MyEntity
9

Eager Fetch is not stable for collection or map types?

id) {    EntityManager em = emf.createEntityManager();    try {     TypedQuery<Game> query = em ... em = emf.createEntityManager(); try { TypedQuery<Game> query = em.createQuery("select k from
9

Field in Generic Class not persisted?

.Persistence; import javax.persistence.TypedQuery; import org.apache.commons.lang3.SerializationUtils ... ();         em.clear();         TypedQuery<OBJ6> q = em.createQuery("SELECT h FROM OBJ6 h", OBJ6.class
9

"where in" query

why this result returns an empty set? List<Prez> results; TypedQuery<Prez> prezs = em.createQuery ... ());         }         em.getTransaction().commit();         TypedQuery<Prez> prezs = em
9

Threading Problem (maybe with Criteria)

TypedQuery<AdvoluxUID> query= manager.createQuery("SELECT NEW AdvoluxUID(p.m_uid,p.m_udb) FROM PersonTest p ... >get("m_age"), 50)); TypedQuery<AdvoluxUID> query= manager.createQuery(cquery); best regards Arne
6

Issue with orphanRemoval and multiple EntityManagers

.getTransaction().commit();         TypedQuery<ElectronicAddress> q3 = em.createQuery
6

ClassCastException of same object type

by all the persisted objects. Yet the TypedQuery should be returning XCCompetitorCount objects
1

NullPointer on query

I'm getting a null pointer when running the following code: TypedQuery<ObjectDbMessagePayload> query = em.createQuery("SELECT m FROM ObjectDbMessagePayload m WHERE m.id = :id ... again with a query TypedQuery<ObjectDbMessagePayload> query = em.createQuery("SELECT m FROM

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