Interface OpenJPAQueryBuilder
-
- All Superinterfaces:
QueryBuilder
- All Known Implementing Classes:
QueryBuilderImpl
public interface OpenJPAQueryBuilder extends QueryBuilder
Builds dynamic query- Author:
- Pinaki Poddar
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueryDefinition
createQueryDefinition(java.lang.String jpql)
Create a QueryDefinition from the given JPQL String.QueryDefinition
createQueryDefinition(Query jpql)
Create a QueryDefinition from the given OpenJPA Query instance.java.lang.String
toJPQL(QueryDefinition qdef)
Gets equivalent JPQL String for the given QueryDefinition.-
Methods inherited from interface org.apache.openjpa.persistence.query.QueryBuilder
createQueryDefinition, createQueryDefinition, createSubqueryDefinition
-
-
-
-
Method Detail
-
createQueryDefinition
QueryDefinition createQueryDefinition(java.lang.String jpql)
Create a QueryDefinition from the given JPQL String.
-
createQueryDefinition
QueryDefinition createQueryDefinition(Query jpql)
Create a QueryDefinition from the given OpenJPA Query instance.
-
toJPQL
java.lang.String toJPQL(QueryDefinition qdef)
Gets equivalent JPQL String for the given QueryDefinition.
-
-