Scriptella

From Wikipedia, the free encyclopedia

Template:Short description

Page Module:Message box/ambox.css has no content.

Page Module:Infobox/styles.css has no content.

Scriptella
Template:Infobox software/simple
Written inJava
Operating systemCross-platform
TypeETL, Data migration and SQL.
LicenseApache License
Websitescriptella.org
Repositorygithub.com/scriptella/scriptella-etl

Script error: No such module "Check for conflicting parameters".

Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal'). Scriptella is an open source extract transform load (ETL) and script execution tool written in Java. It allows the use of SQL or another scripting language suitable for the data source to perform required transformations.[1] Scriptella does not offer any graphical user interface.

Typical use

  • Database migration.
  • Database creation/update scripts.
  • Cross-database ETL operations, import/export.
  • Alternative for Ant <sql> task.
  • Automated database schema upgrade.[2]

Features

  • Simple XML syntax for scripts. Add dynamics to your existing SQL scripts by creating a thin wrapper XML file:
    <!DOCTYPE etl SYSTEM "http://scriptella.javaforge.com/dtd/etl.dtd">
    <etl>
        <connection driver="$driver" url="$url" user="$user" password="$password"/>
        <script>
            <include href="PATH_TO_YOUR_SCRIPT.sql"/>
            -- And/or directly insert SQL statements here
        </script>
    </etl>
    
  • Support for multiple datasources (or multiple connections to a single database) in an ETL file.
  • Support for many useful JDBC features, e.g. parameters in SQL including file blobs and JDBC escaping.
  • Performance and low memory usage are one of the primary goals.
  • Support for evaluated expressions and properties (JEXL syntax)
  • Support for cross-database ETL scripts by using <dialect> elements
  • Transactional execution
  • Error handling via <onerror> elements
  • Conditional scripts/queries execution (similar to Ant if/unless attributes but more powerful)
  • Easy-to-Use as a standalone tool or Ant task, without deployment or installation.
  • Easy-To-Run ETL files directly from Java code.
  • Built-in adapters for popular databases for a tight integration. Support for any database with JDBC/ODBC compliant driver.
  • Service Provider Interface (SPI) for interoperability with non-JDBC DataSources and integration with scripting languages. Out of the box support for JSR 223 (Scripting for the Java Platform) compatible languages.
  • Built-in CSV, TEXT, XML, LDAP, Lucene, Velocity, JEXL and Janino providers. Integration with Java EE, Spring Framework, JMX and JNDI for enterprise ready scripts.

Further reading

References

  1. ^ Page Module:Citation/CS1/styles.css has no content.Andrew Glover (2010-09-28). "Groovy ETLs with Scriptella". InfoWorld. Retrieved 2025-04-07.
  2. ^ Page Module:Citation/CS1/styles.css has no content."Scriptella: Typical use". 2019-10-04.

Template:Asbox