2.0
1.4
URL format | jdbc:h2:file |
---|---|
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 (
name VARCHAR(50) NOT NULL PRIMARY KEY
);
/*
Multi-line
comment
*/
-- Sql-style comment
-- Placeholder
INSERT INTO ${tableName} (name) VALUES ('Mr. T');
INSERT INTO test_data (name) VALUES ( $$'Mr. Semicolon+Linebreak;
another line'$$);