Class SAPHANADatabaseType

    • Constructor Detail

      • SAPHANADatabaseType

        public SAPHANADatabaseType()
    • Method Detail

      • handlesDatabaseProductNameAndVersion

        public boolean handlesDatabaseProductNameAndVersion​(String databaseProductName,
                                                            String databaseProductVersion,
                                                            Connection connection)
        Description copied from interface: DatabaseType
        Check if this database type handles the connection product name and version. This allows more fine-grained control over which DatabaseType handles which connection. MigrateDB will use the first DatabaseType that returns true for this method.
        Parameters:
        databaseProductName - The product name returned by the database.
        databaseProductVersion - The product version returned by the database.
        connection - The connection used to connect to the database.
        Returns:
        true if this handles the product name and version, false if not.