Annotation Type DeleteQuery


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface DeleteQuery
    Defines the Teiid View's Transformation Delete query. This is optional annotation, that can be defined only when you want support Delete on the view.
     
     @DeleteQuery(
       "FOR EACH ROW \n"+
       "BEGIN ATOMIC \n" +
           "DELETE FROM customerDS.person WHERE id = OLD.id;\n"+
       "END"
       )
     
     
    For more information checkout Update procedures in Teiid.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String value  
    • Element Detail

      • value

        String value
        Default:
        ""