com.sap.cloud.mt.subscription.SqlOperationsHana Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multi-tenant-subscription Show documentation
Show all versions of multi-tenant-subscription Show documentation
Spring Boot Enablement Parent
/*******************************************************************************
* © 2019-2024 SAP SE or an SAP affiliate company. All rights reserved.
******************************************************************************/
package com.sap.cloud.mt.subscription;
public class SqlOperationsHana extends SqlOperations {
private static final String SELECT_SCHEMA = "SELECT * FROM SCHEMAS";
private static final String DUMMY_SELECT = "select 1 as a from dummy";
@Override
protected String getDeleteSchemaStatement(String tenantId) {
return "DROP SCHEMA \"" + tenantId + "\" CASCADE";
}
@Override
protected String getSelectSchemaStatement() {
return SELECT_SCHEMA;
}
@Override
protected String getDummySelect() {
return DUMMY_SELECT;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy