Home » Search

About TypedQuery

91-100 of 139Refresh
Forum
1

zip file or JAR manifest missing

a persistence unit or use an alternative solution. For example, replace the query with TypedQuery: TypedQuery q2 = em.createQuery(sQ2, ItemList.class);   I found this is a weird thing, the same
Forum
1

@ElementCollection of type enum

();                 em = emf.createEntityManager();         TypedQuery query =             em
Forum
1

Accessing objects to make them available after EntityManager close?!

"); EntityManager em = emf.createEntityManager(); TypedQuery query = em.createQuery("SELECT w
Forum
1

ArrayIndexOutOfBoundsException at com.objectdb.o.ALS.c(ALS.java:89)

.toString(arp.spa) + "'" // Get LogEntry's with same IP var query: TypedQuery[LogEntry] = em
Forum
1

Bulk Delete and Update - best practice?

(); em.clear(); TypedQuery q = em.createQuery("SELECT COUNT(d) from CacheData d", Long
Forum
1

ClassCastException of same object type

that is implemented by all the persisted objects. Yet the TypedQuery should be returning XCCompetitorCount
Forum
1

Empty query results after JAR creation

= emf.createEntityManager(); String s = "SELECT c FROM Case c"; TypedQuery q = em
Forum
1

EntityManager.refresh takes a long time

EntityManager.refresh takes a long time for entity object Person in this code:     logger.log(Level.INFO, "begin select for person " + new Date().toString());                TypedQuery personQuery =         em.createQuery("SELECT m FROM Person m", Person.class);     List
Forum
1

Error using query with MAX() function

.isNotNull(c); q.where(predicate); TypedQuery tq = em.createQuery(s); Date mDate
Forum
1

Error: Failed to write value of field X using reflection (oneToMany relation)

= EMF.createEntityManager(); List results = null; try { TypedQuery