Class ModifyQuery

    • Field Detail

      • modifyRow

        protected org.eclipse.persistence.internal.sessions.AbstractRecord modifyRow
      • forceBatchStatementExecution

        protected boolean forceBatchStatementExecution
      • isBatchExecutionSupported

        protected boolean isBatchExecutionSupported
        Define if this query is compatible with batch writing. Some queries, such as DDL are not compatible.
    • Constructor Detail

      • ModifyQuery

        public ModifyQuery()
    • Method Detail

      • getModifyRow

        public org.eclipse.persistence.internal.sessions.AbstractRecord getModifyRow()
        INTERNAL: Return the modify row
      • isModifyQuery

        public boolean isModifyQuery()
        PUBLIC: Return if this is a modify query.
        Overrides:
        isModifyQuery in class DatabaseQuery
      • setModifyRow

        public void setModifyRow​(org.eclipse.persistence.internal.sessions.AbstractRecord row)
        INTERNAL: Set the modify row
      • setForceBatchStatementExecution

        public void setForceBatchStatementExecution​(boolean value)
        PUBLIC: Allow setting this query to be the last statement added to a batch statement and ensure it is flushed on execution. Setting to true will cause the batch statement to be sent to the database. Default setting of false causes the batch statement execution to be delayed to allow additional statements to be added. Setting to true reduces the efficiency of batch writing. This has no effect if batch writing is not enabled.
      • isBatchExecutionSupported

        public boolean isBatchExecutionSupported()
        PUBLIC: Return if this query is compatible with batch writing. Some queries, such as DDL are not compatible.
      • setIsBatchExecutionSupported

        public void setIsBatchExecutionSupported​(boolean isBatchExecutionSupported)
        PUBLIC: Set if this query is compatible with batch writing. Some queries, such as DDL are not compatible.