The Java Persistence Query Language (JPQL) is a platform-independent object-oriented query language defined as part of the Java Persistence API specification.
We need to make sure only results within the last 30 days are returned for a JPQL query. An example follows: …
jpa jpql openjpaWhat does mappedBy map to? Or, rather, what should it map to? The headers field below maps to @Entity Foo …
java jpa annotations one-to-many jpqlI need a jpql query to find all the LoadFileHistory which finishDate be greater than the currente date (since 00:00:00). For …
java jpa jpqlI'm using Toplink essentials (JPA) + GlassFish v3 + NetBean 6.9 I have one table with composite primary key: table (machine) ---------------- |PK …
java jpa jpql composite-keyUsing JPA 2.0. It seems that by default (no explicit fetch), @OneToOne(fetch = FetchType.EAGER) fields are fetched in 1 + N queries, …
java jpa jpql criteria-apiHow it is possible to limit the number of results retrieved from a database? select e from Entity e /* I …
java jpa jpqlSELECT x FROM SomeClass WHERE x.dateAtt BETWEEN CURRENT_DATE AND (CURRENT_DATE + 1 MONTH) In the above JPQL statement, SomeClass …
java date documentation jpqlIs there a JPA concat operator for string concatenation? I know there is a JPA CONCAT function, however its ugly …
java jpa jpa-2.0 concatenation jpql