4.0
3.0
Compatible | ✅ |
---|---|
Certified | ✅ |
Guaranteed | ✅ Flyway Teams |
Support Level determines the degree of support available for this database (learn more).
URL format | jdbc:firebirdsql://host:port/database |
---|---|
Ships with Flyway Command-line | Yes |
Maven Central coordinates | org.firebirdsql.jdbc:jaybird-jdk18:3.0.5 |
Supported versions | 2.2 and later |
Default Java class | org.firebirdsql.jdbc.FBDriver |
Firebird support is a separate dependency for Flyway and will need to be added to your Java project to access these features.
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-firebird</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb.enterprise</groupId>
<artifactId>flyway-firebird</artifactId>
</dependency>
dependencies {
compile "org.flywaydb:flyway-firebird"
}
dependencies {
compile "org.flywaydb.enterprise:flyway-firebird"
}
COMMIT WORK
, removing the COMMIT WORK
statement from the script./* Single line comment */
CREATE TABLE test_data (
value VARCHAR(25) NOT NULL PRIMARY KEY
);
/*
Multi-line
comment
*/
-- Sql-style comment
-- Placeholder
ALTER TABLE ${tableName} ADD id INT NOT NULL;
-- Terminator changes
SET TERM #;
CREATE OR ALTER PROCEDURE SHIP_ORDER (
PO_NUM CHAR(8))
AS
BEGIN
/* Stored procedure body */
END#
SET TERM ;#
executeInTransaction
SET TRANSACTION
and COMMIT [WORK]
are not supported in migrations. COMMIT RETAIN
can be used, but this will only
allow partial rollback of a migration; only statements after the last COMMIT RETAIN
can be rolled back.