Extending the functionality of database tools
You can extend the functionality of your database tools by writing scripts in Groovy, Clojure, and JavaScript.
Example scripts
The IntelliJ IDEA distribution includes example extension scripts which you can access using the Scratches view of the Project tool window.
The Extensions/Database Tools and SQL/data/extractors
folder contains the scripts that convert table data into CSV, HTML, JSON, SQL INSERTs and XML formats (see e.g. Specifying data output format and options). The Extensions/Database Tools and SQL/schema
folder contains the scripts that generate a Java entity class for a table (see Generating Java entity classes for tables and views).