Annotation Type InsertQuery


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface InsertQuery
    Defines the Teiid View's Transformation Insert query. This is optional annotation, that can be defined only when you want support insert on the view.
     
     @InsertQuery("FOR EACH ROW \n"+
                 "BEGIN ATOMIC \n" +
             "INSERT INTO customerDS.person(id, full_name, dob) values (NEW.id, NEW.full_name, NEW.dob);\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:
        ""