Class DatabaseOperation
java.lang.Object
org.apache.ibatis.migration.operations.DatabaseOperation
- Direct Known Subclasses:
BootstrapOperation
,DownOperation
,PendingOperation
,StatusOperation
,UpOperation
,VersionOperation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
changelogExists
(Connection con, DatabaseOperationOption option) protected String
checkSkippedOrMissing
(List<Change> changesInDb, List<Change> migrations) static String
getChangelog
(Connection con, DatabaseOperationOption option) protected ScriptRunner
getScriptRunner
(Connection connection, DatabaseOperationOption option, PrintStream printStream) protected void
insertChangelog
(Change change, Connection con, DatabaseOperationOption option) protected void
println
(PrintStream printStream) protected void
println
(PrintStream printStream, String text)
-
Constructor Details
-
DatabaseOperation
public DatabaseOperation()
-
-
Method Details
-
insertChangelog
-
getChangelog
-
changelogExists
-
checkSkippedOrMissing
-
getScriptRunner
protected ScriptRunner getScriptRunner(Connection connection, DatabaseOperationOption option, PrintStream printStream) -
generateAppliedTimeStampAsString
-
println
-
println
-