About TypedQuery

91-100 of 143Refresh
Forum
1

Speed of queries that return many objects

();             TypedQuery query = em.createQuery("SELECT a FROM BenchEnt a", BenchEnt.class ... lazily then the query can return results much faster:     TypedQuery query = em.createQuery
Forum
1

Threading Problem (maybe with Criteria)

250 GB Samsung SSD 840 Series Media No error using SQL String statement TypedQueryTypedQuery query= manager.createQuery(cquery); best regards Arne Thank
Forum
1

Updating Entities

); TypedQuery query = Main.paygradeDB.createQuery("SELECT FROM Paygrade ORDER BY rate", Paygrade.class); TypedQuery modifyTo = Main.paygradeDB.createQuery("UPDATE Paygrade SET rate
Forum
1

Using the wrong class to access a database

.getSingleResult()); // 3 get all points TypedQuery query = em.createQuery("SELECT p FROM ... ) { TypedQuery query = em.createQuery("SELECT p FROM Point p", Point.class); List results
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