You can use a procedure language in Teiid Spring Boot to call foreign procedures and define virtual procedures and triggers.