org.apache.openjpa.persistence.query
Interface OpenJPAQueryBuilder

All Superinterfaces:
QueryBuilder
All Known Implementing Classes:
QueryBuilderImpl

public interface OpenJPAQueryBuilder
extends QueryBuilder

Builds dynamic query

Author:
Pinaki Poddar

Method Summary
 QueryDefinition createQueryDefinition(Query jpql)
          Create a QueryDefinition from the given OpenJPA Query instance.
 QueryDefinition createQueryDefinition(String jpql)
          Create a QueryDefinition from the given JPQL String.
 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(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

String toJPQL(QueryDefinition qdef)
Gets equivalent JPQL String for the given QueryDefinition.



Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.