Interface QueryFlushModes

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int FLUSH_FALSE
      Constant denoting that queries should never flush data to the database automatically before executing a query, but should instead execute queries in-memory if necessary.
      static int FLUSH_TRUE
      Constant denoting that queries should flush data to the database automatically whenever OpenJPA determines that relevant modifications have been made and IgnoreCache is false.
      static int FLUSH_WITH_CONNECTION
      Constant denoting that queries should flush data to the database automatically when OpenJPA determines that relevant modifications have been made and the current context already has a dedicated connection.
    • Field Detail

      • FLUSH_WITH_CONNECTION

        static final int FLUSH_WITH_CONNECTION
        Constant denoting that queries should flush data to the database automatically when OpenJPA determines that relevant modifications have been made and the current context already has a dedicated connection. See OpenJPAConfiguration.getFlushBeforeQueries() for more info.
        See Also:
        Constant Field Values