public class sqlRun extends Object
Constructor and Description |
---|
sqlRun() |
Modifier and Type | Method and Description |
---|---|
static int |
invoke(GrouperSession grouperSession,
Object scriptFileOrString)
Executes an SQL statement.
|
static void |
invoke(bsh.Interpreter interpreter,
bsh.CallStack stack,
File scriptFile)
Create tables and init schema (depending on configuration in grouper.properties)
|
static int |
invoke(bsh.Interpreter interpreter,
bsh.CallStack stack,
String sql)
Executes an SQL statement.
|
public static void invoke(bsh.Interpreter interpreter, bsh.CallStack stack, File scriptFile)
interpreter
- BeanShell interpreter.stack
- BeanShell call stack.scriptFile
- public static int invoke(bsh.Interpreter interpreter, bsh.CallStack stack, String sql) throws GrouperShellException
interpreter
- BeanShell interpreter.stack
- BeanShell call stack.sql
- GrouperShellException
public static int invoke(GrouperSession grouperSession, Object scriptFileOrString)
grouperSession
- scriptFileOrString
- Copyright © 2016 Internet2. All rights reserved.