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.
-
-
Constructor Summary
Constructors Constructor Description SQLServerTable(org.flywaydb.core.internal.jdbc.JdbcTemplate jdbcTemplate, SQLServerDatabase database, java.lang.String databaseName, SQLServerSchema schema, java.lang.String name)
Creates a new SQLServer table.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doDrop()
protected boolean
doExists()
protected void
doLock()
java.lang.String
toString()
-
Methods inherited from class org.flywaydb.core.internal.database.base.Table
doUnlock, exists, exists, lock, unlock
-
-
-
-
Constructor Detail
-
SQLServerTable
public SQLServerTable(org.flywaydb.core.internal.jdbc.JdbcTemplate jdbcTemplate, SQLServerDatabase database, java.lang.String databaseName, SQLServerSchema schema, java.lang.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 Detail
-
doDrop
protected void doDrop() throws java.sql.SQLException
- Specified by:
doDrop
in classorg.flywaydb.core.internal.database.base.SchemaObject<SQLServerDatabase,SQLServerSchema>
- Throws:
java.sql.SQLException
-
doExists
protected boolean doExists() throws java.sql.SQLException
- Specified by:
doExists
in classorg.flywaydb.core.internal.database.base.Table<SQLServerDatabase,SQLServerSchema>
- Throws:
java.sql.SQLException
-
doLock
protected void doLock() throws java.sql.SQLException
- Specified by:
doLock
in classorg.flywaydb.core.internal.database.base.Table<SQLServerDatabase,SQLServerSchema>
- Throws:
java.sql.SQLException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classorg.flywaydb.core.internal.database.base.SchemaObject<SQLServerDatabase,SQLServerSchema>
-
-