Package org.teiid.spring.annotations
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")
-
-
Element Detail
-
value
String value
- Default:
- ""
-
-