About TypedQuery

91-100 of 146Refresh
Forum
1

Possible issue with timestamps

().commit();              TypedQuery query = em.createQuery("SELECT count(c) FROM CDI c", Long ... ());                 TypedQuery query2 = em.createQuery("SELECT c FROM CDI c where c.creationDate > {ts '2012-03-29
Forum
1

Query all objects that implements a given interface - is that possible?

Hi, I am trying query one of my DB - for all object types that implement a given interface.     TypedQuery query =         em.createQuery("SELECT bk FROM Signal_Interface bk ... Signals.Signal_Interface Try:     TypedQuery query =         em.createQuery("SELECT
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