public interface RunSQL
Modifier and Type | Field and Description |
---|---|
static String |
SQL_ERROR
SQL error code.
|
Modifier and Type | Method and Description |
---|---|
String |
getCurrentDatabaseName() |
void |
runSQL(ExecutionContext ctx,
String sql)
Runs a given SQL script in a current transaction.
|
void |
runSQLInNewTransaction(ExecutionContext ctx,
String sql)
Runs a given SQL script in a new transaction.
|
static final String SQL_ERROR
void runSQL(ExecutionContext ctx, String sql) throws ErrorException
ctx
- sql
- ErrorException
void runSQLInNewTransaction(ExecutionContext ctx, String sql) throws ErrorException
ctx
- sql
- ErrorException
String getCurrentDatabaseName() throws ErrorException
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.