Class SqlOperations
java.lang.Object
com.sap.cds.feature.mt.lib.subscription.SqlOperations
- Direct Known Subclasses:
SqlOperationsH2,SqlOperationsHana,SqlOperationsPostgreSQL,SqlOperationsSqLite
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SqlOperationsvoidcreateSchema(String tenantId, Connection connection) voiddeleteSchema(String tenantId, Connection connection) booleandoesSchemaExist(String tenantId, Connection connection) voiddummySelect(Connection connection) getAllSchemas(Connection connection) protected StringgetCreateSchemaStatement(String tenantId) protected StringgetDeleteSchemaStatement(String tenantId) protected Stringprotected StringbooleanisAuthenticationProblem(String sqlState) voidsetDummySelectStatement(String dummySelectStatement)
-
Field Details
-
dummySelectStatement
-
-
Constructor Details
-
SqlOperations
public SqlOperations()
-
-
Method Details
-
build
- Throws:
InternalError
-
createSchema
- Throws:
SQLException
-
deleteSchema
- Throws:
SQLException
-
doesSchemaExist
- Throws:
SQLException
-
getAllSchemas
- Throws:
SQLException
-
dummySelect
- Throws:
SQLException
-
setDummySelectStatement
-
isAuthenticationProblem
-
getCreateSchemaStatement
- Throws:
ParameterError
-
getDeleteSchemaStatement
- Throws:
ParameterError
-
getSelectSchemaStatement
-
getDummySelect
-