@PermitAll public class SqlFileExecuterImpl extends Object implements SqlFileExecuter
Constructor and Description |
---|
SqlFileExecuterImpl() |
SqlFileExecuterImpl(DataSource ds,
RunSQL runner) |
Modifier and Type | Method and Description |
---|---|
void |
execute(ExecutionContext context,
BinaryHolder binaryInput)
Execute provided SQL file.
|
protected void |
executeAsMultiLine(ExecutionContext context,
BinaryHolder binaryInput) |
String |
getCurrentDatabaseName()
DBMS name
|
public SqlFileExecuterImpl()
public SqlFileExecuterImpl(DataSource ds, RunSQL runner)
public void execute(ExecutionContext context, BinaryHolder binaryInput) throws ErrorException
SqlFileExecuter
execute
in interface SqlFileExecuter
binaryInput
- sql fileErrorException
protected void executeAsMultiLine(ExecutionContext context, BinaryHolder binaryInput) throws ErrorException
ErrorException
public String getCurrentDatabaseName() throws ErrorException
SqlFileExecuter
getCurrentDatabaseName
in interface SqlFileExecuter
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.