Registry / database / liquibase-core

liquibase-core

JSON →
library5.0.3javamavenunverified

Liquibase is a tool for managing and executing database changes.

<dependency> <groupId>org.liquibase</groupId> <artifactId>liquibase-core</artifactId> <version>5.0.3</version> </dependency>
INSTALL
IMPORT
SIG · LIQUIBASE-CORE
L
liquibase-core
databasejavav5.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Liquibase
liquibase.Liquibase

Runs Liquibase database migrations from a changelog file.

import liquibase.Liquibase; import liquibase.database.DatabaseFactory; import liquibase.database.jvm.JdbcConnection; import java.sql.DriverManager; public class Main { public static void main(String[] args) throws Exception { java.sql.Connection conn = DriverManager.getConnection("jdbc:h2:mem:test"); Liquibase liquibase = new Liquibase("db/changelog.xml", new liquibase.resource.ClassLoaderResourceAccessor(), DatabaseFactory.getInstance().findCorrectDatabaseImplementation(new JdbcConnection(conn))); liquibase.update(""); } }
Debug
Known issues
breakingLiquibase 4.x changed package structure; ensure imports match the version used.
fix
Use the correct package (e.g., liquibase.resource.ClassLoaderResourceAccessor for 4.x).
affects: >=4.0.0
Upgrade
Version history
5.0.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
liquibase-core — mvn dependency:get liquibase-core · libregistry