Home » Search

About TypedQuery

131-139 of 139Refresh
Issue
1

Schema-Update: Rename superclass and remove one subclass

we get the described error message.   If we try to ecexute a Query (in the second main method): TypedQuery
Forum
1

Sorting problem

;     TypedQuery icQuery = null;     String q = null;     q = "select br from Branch br ORDER
Forum
1

Subquery error

My query: TypedQuery query = em.createQuery("SELECT p FROM Station p WHERE rid = (SELECT p FROM Station p where tpl='York') AND tpl != 'York'", Station.class);   Error: Exception in thread "main" [ObjectDB 2.6.6_04] SELECT p FROM Station p WHERE rid = ( ==> SELECT <==  p FROM
Issue
1

Super class' field access fails

() { return decrease; } } Now, when issuing the following query: TypedQuery query
Forum
1

Why the internal error was thrown?

) {     EntityManager em = getEntityManager();     TypedQuery q = em.createQuery(query, clazz);     q.setHint
Issue
1

Null pointer exception being thrown from within ObjectDB.

))               )             ).             orderBy(cb.desc(r.get("objectDbId")));     TypedQuery query
Forum
1

JPA - ExceptionInInitializerError when creating EntityManager

.EntityManagerFactoryImpl@ffa7e1 EntityManager emTemp = emf.createEntityManager(); TypedQuery
Forum
1

IN expression in a Criteria Query

);         TypedQuery query = em.createQuery(q);         List results = query
Forum
1

Query can't see recently persisted object

; } ... } ... TypedQuery query = mem.createNamedQuery("MyObject.findByOid", MyObject.class); query