Package org.flywaydb.database.sqlserver
Class SQLServerApplicationLockTemplate
java.lang.Object
org.flywaydb.database.sqlserver.SQLServerApplicationLockTemplate
Spring-like template for executing with SQL Server application locks.
-
Method Summary
-
Method Details
-
execute
Executes this callback with an advisory lock.- Parameters:
callable
- The callback to execute.- Returns:
- The result of the callable code.
-