ObjectDB Database Search
51-56 of 56 resultsQuery over the keySet of a map field with collection parameter It is possible to execute a query over a keySet of a map field with comparing to a collection parameter? Set values = new HashSet (); values.add("c2"); String query = // "SELECT e " + "FROM " + EntityParent.class.getName() + " e " + "WHERE e.map member of ?1"; TypedQuery q = em.createQuery(query | |
Performance in SELECT statement :state"; TypedQuery query = em.createQuery(strSelect, TestEntity.class); query.setParameter("state | |
Is there any faster select method? SELECT: TypedQuery query = em.createQuery( "SELECT p FROM Point p WHERE p.id = " + element.getId(), Point.class); List points = query.getResultList(); WRITE: em.persist(p); ** the Point class is of the tutorial. I found the above select method is ten times slower | |
java.sql.Date equals comparison not working with CriteriaAPI; TypedQuery query = em.createQuery(q); List | |
Internal exception when updating date filed (TemporalType.DATE); TypedQuery personQuery = entityManager.createQuery | |
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 |