ObjectDB ObjectDB

Internal Website Search

81-90 of 111 resultsRefresh

TYPE Expression

");         query.setParameter("type", A.class);         resultList = query.getResultList

Visibility of changes in Transaction is not visible to a JPA QL Query

.cachedKey = :cachedKey", Item.class);   q.setParameter("cachedKey", Integer.toString(which));   return

com.objectdb.o.InternalException: Unexpected internal exception

(Person.class); List pList = em.createNamedQuery("getPersonByName",Person.class).setParameter

Cannot save or update entity on Spring App

.createQuery(query); for(String s : map.keySet()) q.setParameter(s, map.get(s


", License.class); query.setParameter(1, id); int changes = query.executeUpdate

NPE on em.createQuery(query).getResultList()

.createQuery(             "SELECT e FROM MyEntity e WHERE e = :p");         query.setParameter("p", e

type in http://www.objectdb.com/java/jpa/query/criteria serParameter -> setParamether

type in http://www.objectdb.com/java/jpa/query/criteria serParameter -> setParamether ravshansbox Ravshan Thanks. It was fixed now to setParameter. support Support

Blocked by find

.createQuery("DELETE FROM DataHolder d WHERE d.containerId = :containerId"); query.setParameter

Unexpected Exception (Error 990) with ArrayIndexOutOfBoundsException

.setParameter("id", results.get(0).getId()) .executeUpdate(); em.getTransaction().commit

NullpointerException at a normal select

When I run the following code: EntityManager em = getEm(); Customer result = null; try {     logger.debug("Ident: "+ident);     result = em.createQuery("Select c from Customer c where c.identifier=:id", Customer.class).setParameter("id", ident).getSingleResult(); } catch (javax.persistence

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