Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1233

Make method buildQuery of org.apache.olingo.odata2.jpa.processor.core.access.data.JPAQueryBuilder public

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • V2 2.0.10
    • None
    • odata2-jpa
    • SAP Cloud Platform

    Description

      Hi community,

      we are using Olingo JPA Processor to generate an OData Service. By registering an EntityListener in our JPA class, we hook in the logic of some calls, to have some app specific behaviour which can't be provided by Olingo.

      However, we like to make use of, whats implemented by Olingo JPA already - the generation of a JPQL database statement out of a OData request and adjust the statement to our needs. Right now this is hardly possible, because the method doing that is marked as private. The method I would use to do that would be buildQuery of class JPAQueryBuilder see

      https://github.com/apache/olingo-odata2/blob/master/odata2-jpa-processor/jpa-core/src/main/java/org/apache/olingo/odata2/jpa/processor/core/access/data/JPAQueryBuilder.java#L181

      Therefore, I would like to raise a feature request to make method buildQuery public to support a implementation in an EntityListener which bases on whats supported by Olingo already.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            aparr Alexander Parr
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: