Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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