Home » Search

About getSingleResult

61-70 of 86Refresh
Forum
1

Drop in Client/server mode not working

(             em.createQuery("SELECT COUNT(e) FROM MyEntity e").getSingleResult());         em.close
Forum
1

EntityManager JPA or JDO impl and different behavior

h FROM Holder h",             Holder.class).getSingleResult();         em.close
Forum
1

enumeration table? how to on pure jpa?

).getSingleResult();   Alternatively you can define a special entity class, e.g. GlobalProperty
Forum
1

Failed to read DB file while online backup is running

.getSingleResult();   // Wait until the backup is completed.   try {    backupThread.join
Issue
1

Internal Exception

.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:723) [objectdb-2.4.4_05.jar:] ... Caused by: java
Issue
1

InternalException - error reading field from "queue" database

) at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:654)   Could you put the database file
Forum
1

java.lang.ClassCastException in OSGi runtime when loading data from DB

);   Person singleResult = typedQuery.getSingleResult();   System.out.println(singleResult);   return
Forum
1

JPA does not seem to be db agnostic

)); return em.createQuery(query).getSingleResult(); } A valid JPQL query must include SELECT
Forum
1

Memory Leak?

.executeUpdate();    Device d = (Device) q1.getSingleResult();    //em.remove(d);    if (j%10000==0
Forum
1

Merge with Parent/Child entities not possible

parentEntity = parentEntityQuery.getSingleResult();   entityManager.refresh(parentEntity);   Assert