Derby
Versions
Default Driver
- 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
SQLite