
public.javadoc.org.spincast.plugins.flywayutils.SpincastFlywayMigrationBase.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
SpincastFlywayMigrationBase (org.spincast:spincast-framework 2.1.1 API)
Package org.spincast.plugins.flywayutils
Class SpincastFlywayMigrationBase
java.lang.Object
org.spincast.plugins.flywayutils.SpincastFlywayMigrationBase
- All Implemented Interfaces:
SpincastFlywayMigration
-
Field Summary
Fields
-
Constructor Summary
Constructors
-
Method Summary
Modifier and Type
Method
Description
protected DataSource
protected JdbcUtils
final void
migrate(Connection connection)
Override {runMigration(Connection)
} instead of this
method.
protected abstract void
runMigration(Connection connection)
Runs the migrations inside a scope where the
proper connection will used, even by indirect
components (ex: a service is called that uses
a repository which gets a connection using
JdbcScope.transactional(org.spincast.plugins.jdbc.TransactionalScope)
transactional()).
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
Constructor Details
-
SpincastFlywayMigrationBase
-
Method Details
-
getDataSource
-
getJdbcUtils
-
migrate
Override {runMigration(Connection)
} instead of this
method.
- Specified by:
migrate
in interface SpincastFlywayMigration
- Throws:
Exception
-
runMigration
Runs the migrations inside a scope where the
proper connection will used, even by indirect
components (ex: a service is called that uses
a repository which gets a connection using
JdbcScope.transactional(org.spincast.plugins.jdbc.TransactionalScope)
transactional()).
© 2015 - 2025 Weber Informatics LLC | Privacy Policy