Interface OpenJPAQueryBuilder

All Superinterfaces:
QueryBuilder
All Known Implementing Classes:
QueryBuilderImpl

public interface OpenJPAQueryBuilder extends QueryBuilder
Builds dynamic query
Author:
Pinaki Poddar
  • Method Details

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