2.0
1.4
1.3
Flyway Teams 1.2
Flyway Teams Compatible | ✅ |
---|---|
Certified | ✅ |
Guaranteed | ✅ Flyway Teams |
Support Level determines the degree of support available for this database (learn more).
URL format | jdbc:h2:file |
---|---|
Ships with Flyway Command-line | Yes |
Maven Central coordinates | com.h2database:h2:2.0.206 |
Supported versions | 1.2.137 and later |
Default Java class | org.h2.Driver |
/* 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');
INSERT INTO test_user (name) VALUES ( $$'Mr. Semicolon+Linebreak;
another line'$$);