Class SQLServerTable

    • Field Summary

      • Fields inherited from class org.flywaydb.core.internal.database.base.Table

        lockDepth
      • Fields inherited from class org.flywaydb.core.internal.database.base.SchemaObject

        database, jdbcTemplate, name, schema
    • 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
      • Methods inherited from class org.flywaydb.core.internal.database.base.SchemaObject

        drop, getDatabase, getName, getSchema
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 class org.flywaydb.core.internal.database.base.SchemaObject<SQLServerDatabase,​SQLServerSchema>
        Throws:
        java.sql.SQLException
      • doExists

        protected boolean doExists()
                            throws java.sql.SQLException
        Specified by:
        doExists in class org.flywaydb.core.internal.database.base.Table<SQLServerDatabase,​SQLServerSchema>
        Throws:
        java.sql.SQLException
      • doLock

        protected void doLock()
                       throws java.sql.SQLException
        Specified by:
        doLock in class org.flywaydb.core.internal.database.base.Table<SQLServerDatabase,​SQLServerSchema>
        Throws:
        java.sql.SQLException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.flywaydb.core.internal.database.base.SchemaObject<SQLServerDatabase,​SQLServerSchema>