ObjectDB Database Search
151-155 of 155 resultsCalculating age in query?? thanks! Alex quasado Alexander Adam You can use a JPQL query with a simple date comparison: SELECT p | |
Is named-query supported in orm.xml I prefer to keep custom JPQL named queries in an external file, e.g. orm.xml, rather than in the entity classes, for example: delete from DataValue d where d.capabilityId = :capabilityId and d.creationtime <= :creationtime This works fine with e.g. eclipseLink and postgres, but objectDB | |
Navigation through Path to evaluate collection id WHERE item.sku = :key OR id = :id ORDER BY item.sku DESC You may also try this (not valid JPQL | |
migration path from JPA / Hibernate Hibernate API / extensions (e.g. Session instead of EntityManager , queries with HQL syntax instead of JPQL | |
ObjectDB 2.9.5 ). Added support for a JPQL update query with multiple variables (issues #2369 , #3009 ). Fixed |