Package org.flywaydb.database.sqlserver
Class SQLServerTable
java.lang.Object
org.flywaydb.core.internal.database.base.SchemaObject<D,S>
org.flywaydb.core.internal.database.base.Table<SQLServerDatabase,SQLServerSchema>
org.flywaydb.database.sqlserver.SQLServerTable
- Direct Known Subclasses:
SynapseTable
public class SQLServerTable
extends org.flywaydb.core.internal.database.base.Table<SQLServerDatabase,SQLServerSchema>
SQLServer-specific table.
-
Field Summary
Fields inherited from class org.flywaydb.core.internal.database.base.Table
lockDepthFields inherited from class org.flywaydb.core.internal.database.base.SchemaObject
database, jdbcTemplate, name, schema -
Constructor Summary
ConstructorsConstructorDescriptionSQLServerTable(org.flywaydb.core.internal.jdbc.JdbcTemplate jdbcTemplate, SQLServerDatabase database, String databaseName, SQLServerSchema schema, String name) Creates a new SQLServer table. -
Method Summary
Methods inherited from class org.flywaydb.core.internal.database.base.Table
doUnlock, exists, exists, lock, unlockMethods inherited from class org.flywaydb.core.internal.database.base.SchemaObject
drop, getDatabase, getName, getSchema
-
Constructor Details
-
SQLServerTable
public SQLServerTable(org.flywaydb.core.internal.jdbc.JdbcTemplate jdbcTemplate, SQLServerDatabase database, String databaseName, SQLServerSchema schema, String name) Creates a new SQLServer table.- Parameters:
jdbcTemplate- The Jdbc Template for communicating with the DB.database- The database-specific support.databaseName- The database this table lives in.schema- The schema this table lives in.name- The name of the table.
-
-
Method Details
-
doDrop
- Specified by:
doDropin classorg.flywaydb.core.internal.database.base.SchemaObject<SQLServerDatabase,SQLServerSchema> - Throws:
SQLException
-
doExists
- Specified by:
doExistsin classorg.flywaydb.core.internal.database.base.Table<SQLServerDatabase,SQLServerSchema> - Throws:
SQLException
-
doLock
- Specified by:
doLockin classorg.flywaydb.core.internal.database.base.Table<SQLServerDatabase,SQLServerSchema> - Throws:
SQLException
-
toString
- Overrides:
toStringin classorg.flywaydb.core.internal.database.base.SchemaObject<SQLServerDatabase,SQLServerSchema>
-