|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.jpattern.orm.script.ScriptExecutor
public class ScriptExecutor
| Constructor Summary | |
|---|---|
ScriptExecutor(ISessionSqlPerformer session)
|
|
| Method Summary | |
|---|---|
void |
execute(InputStream scriptStream)
Executes the script and performs a 'commit' at the end of the execution. |
void |
execute(InputStream scriptStream,
Charset charset)
Executes the script and performs a 'commit' at the end of the execution. |
void |
execute(InputStream scriptStream,
Charset charset,
int commitEveryStatements)
Executes the script and performs a 'commit' every n statements and at the end of the script. |
void |
execute(InputStream scriptStream,
int commitEveryStatements)
Executes the script and performs a 'commit' every n statements and at the end of the script. |
void |
execute(String script)
Executes the script and performs a 'commit' at the end of the execution. |
void |
execute(String script,
int commitEveryStatements)
Executes the script and performs a 'commit' every n statements and at the end of the script. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptExecutor(ISessionSqlPerformer session)
| Method Detail |
|---|
public void execute(String script)
throws OrmException
IScriptExecutor
execute in interface IScriptExecutorOrmException
public void execute(String script,
int commitEveryStatements)
throws OrmException
IScriptExecutor
execute in interface IScriptExecutorcommitEveryStatements - number of statements to wait before perform a commit.
OrmException
public void execute(InputStream scriptStream)
throws IOException,
OrmException
IScriptExecutor
execute in interface IScriptExecutorIOException
OrmException
public void execute(InputStream scriptStream,
int commitEveryStatements)
throws IOException,
OrmException
IScriptExecutor
execute in interface IScriptExecutorcommitEveryStatements - number of statements to wait before perform a commit.
IOException
OrmException
public void execute(InputStream scriptStream,
Charset charset)
throws IOException,
OrmException
IScriptExecutor
execute in interface IScriptExecutorIOException
OrmException
public void execute(InputStream scriptStream,
Charset charset,
int commitEveryStatements)
throws IOException,
OrmException
IScriptExecutor
execute in interface IScriptExecutorcommitEveryStatements - number of statements to wait before perform a commit.
IOException
OrmException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||