public class SqlScript extends Object
Abstract layer around a SQL script
.| Modifier and Type | Field and Description |
|---|---|
static char |
QUERY_ENDS |
| Constructor and Description |
|---|
SqlScript(String scriptFileName,
DataSource ds) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
boolean |
isUseBatch() |
void |
loadScript() |
static void |
main(String[] args) |
void |
setUseBatch(boolean useBatch) |
public static final char QUERY_ENDS
public SqlScript(String scriptFileName, DataSource ds)
SQLExceptionpublic static void main(String[] args)
public void loadScript()
throws IOException
IOExceptionpublic void execute()
public boolean isUseBatch()
public void setUseBatch(boolean useBatch)
useBatch - the useBatch to setCopyright © 1999–2017 Apache OODT. All rights reserved.