Class SAPHANADatabase

java.lang.Object
migratedb.v1.core.internal.database.base.BaseDatabase<SAPHANAConnection>
migratedb.v1.core.internal.database.saphana.SAPHANADatabase
All Implemented Interfaces:
Closeable, AutoCloseable, Database<SAPHANAConnection>

public class SAPHANADatabase extends BaseDatabase<SAPHANAConnection>
SAP HANA database.
  • Constructor Details

  • Method Details

    • doGetConnection

      protected SAPHANAConnection doGetConnection(Connection connection)
      Description copied from class: BaseDatabase
      Retrieves a MigrateDB Connection for this JDBC connection.
      Specified by:
      doGetConnection in class BaseDatabase<SAPHANAConnection>
    • ensureSupported

      public void ensureSupported()
      Description copied from interface: Database
      Ensure MigrateDB supports this version of this database.
    • getRawCreateScript

      public String getRawCreateScript(Table<?,?> table, boolean baseline)
    • supportsDdlTransactions

      public boolean supportsDdlTransactions()
    • supportsChangingCurrentSchema

      public boolean supportsChangingCurrentSchema()
    • getBooleanTrue

      public String getBooleanTrue()
      Returns:
      The representation of the value true in a boolean column.
    • getBooleanFalse

      public String getBooleanFalse()
      Returns:
      The representation of the value false in a boolean column.
    • catalogIsSchema

      public boolean catalogIsSchema()
      Returns:
      true if this database uses a catalog to represent a schema, or false if a schema is simply a schema.