Class ODataJPAProcessor

    • Constructor Detail

      • ODataJPAProcessor

        public ODataJPAProcessor​(ODataJPAContext oDataJPAContext)
        Constructor
        Parameters:
        oDataJPAContext - non null OData JPA Context object
    • Method Detail

      • setOdataJPAContext

        public void setOdataJPAContext​(ODataJPAContext odataJPAContext)
      • close

        public void close​(boolean forceClose)
        The method closes ThreadContext. It is mandatory to call this method to avoid memory leaks. ATTENTION: If isContainerManaged is set to true at the ODataJPAContext only the cleanup is run but the EntityManager is not closed.
        Parameters:
        forceClose - Se forçar fechar
      • close

        public void close()