Want to deploy your JVM, Node.js and Go apps effortlessly to AWS? Try our service Boxfuse

Derby

Supported Versions

  • 10.14
  • 10.13
  • 10.12
  • 10.11

Driver

Derby
Supported versions 10.11 and later
URL format jdbc:derby:subsubprotocol:databaseName
Ships with Flyway Command-line Yes
Maven Central coordinates org.apache.derby:derbyclient:10.14.1.0
Default Java class org.apache.derby.jdbc.EmbeddedDriver

SQL Script Syntax

Compatibility

  • DDL exported by Derby can be used unchanged in a Flyway migration
  • Any Derby SQL script executed by Flyway, can be executed by the Derby tools (after the placeholders have been replaced)

Example

/* Single line comment */
CREATE TABLE test_data (
  value VARCHAR(25) NOT NULL PRIMARY KEY
);

/*
Multi-line
comment
*/

-- Sql-style comment

-- Placeholder
INSERT INTO ${tableName} (name) VALUES ('Mr. T');

Limitations

  • None

SQLite