Uses of Interface
com.kosdev.kos.commons.db.DatabaseMigrator
Packages that use DatabaseMigrator
Package
Description
Provides classes and interfaces that handle database creation, database access,
and schema upgrading/downgrading.
This package provides the core application framework for KOS, including application lifecycle management,
dynamic loading capabilities, and messaging infrastructure.
-
Uses of DatabaseMigrator in com.kosdev.kos.commons.db
Classes in com.kosdev.kos.commons.db that implement DatabaseMigratorMethods in com.kosdev.kos.commons.db that return DatabaseMigratorModifier and TypeMethodDescriptionDatabaseFactory.migrate(DatabaseMigrator migrator, String name, File dir) This is a convenience method that simply callsgetDataSource()and then returns the migrator.Methods in com.kosdev.kos.commons.db with parameters of type DatabaseMigratorModifier and TypeMethodDescriptionDatabaseFactory.getDataSource(DatabaseMigrator migrator, String name, File dir) Creates aDataSourcefor the specified database file in the specified directory.org.jdbi.v3.core.JdbiDatabaseFactory.getJdbi(DatabaseMigrator migrator, String name, File dir) Wrapper forgetDataSourcethat returnsJdbiinstance instead.DatabaseFactory.migrate(DatabaseMigrator migrator, String name, File dir) This is a convenience method that simply callsgetDataSource()and then returns the migrator. -
Uses of DatabaseMigrator in com.kosdev.kos.core.service.app
Methods in com.kosdev.kos.core.service.app with parameters of type DatabaseMigratorModifier and TypeMethodDescriptionorg.jdbi.v3.core.JdbiApplication.openDatabase(String name, DatabaseMigrator migrator) Opens or creates a database with the specified name in the local storage area of the application.