Class JPQLUpdateExecution

  • All Implemented Interfaces:
    org.teiid.translator.Execution, org.teiid.translator.UpdateExecution

    public class JPQLUpdateExecution
    extends JPQLBaseExecution
    implements org.teiid.translator.UpdateExecution
    • Constructor Detail

      • JPQLUpdateExecution

        public JPQLUpdateExecution​(org.teiid.language.Command command,
                                   org.teiid.translator.ExecutionContext executionContext,
                                   org.teiid.metadata.RuntimeMetadata metadata,
                                   javax.persistence.EntityManager em)
    • Method Detail

      • execute

        public void execute()
                     throws org.teiid.translator.TranslatorException
        Specified by:
        execute in interface org.teiid.translator.Execution
        Throws:
        org.teiid.translator.TranslatorException
      • getUpdateCounts

        public int[] getUpdateCounts()
                              throws org.teiid.translator.DataNotAvailableException,
                                     org.teiid.translator.TranslatorException
        Specified by:
        getUpdateCounts in interface org.teiid.translator.UpdateExecution
        Throws:
        org.teiid.translator.DataNotAvailableException
        org.teiid.translator.TranslatorException
      • close

        public void close()
        Specified by:
        close in interface org.teiid.translator.Execution
      • cancel

        public void cancel()
                    throws org.teiid.translator.TranslatorException
        Specified by:
        cancel in interface org.teiid.translator.Execution
        Throws:
        org.teiid.translator.TranslatorException