public abstract class BaseDBProcess extends java.lang.Object implements DBProcess
| Modifier and Type | Field and Description |
|---|---|
protected java.sql.Connection |
connection |
| Constructor and Description |
|---|
BaseDBProcess() |
| Modifier and Type | Method and Description |
|---|---|
void |
runSQL(java.sql.Connection connection,
java.lang.String template) |
void |
runSQL(java.lang.String template) |
void |
runSQL(java.lang.String[] templates) |
void |
runSQLTemplate(java.lang.String path) |
void |
runSQLTemplate(java.lang.String path,
boolean failOnError) |
void |
runSQLTemplateString(java.lang.String template,
boolean evaluate,
boolean failOnError) |
public void runSQL(java.sql.Connection connection,
java.lang.String template)
throws java.io.IOException,
java.sql.SQLException
public void runSQL(java.lang.String template)
throws java.io.IOException,
java.sql.SQLException
public void runSQL(java.lang.String[] templates)
throws java.io.IOException,
java.sql.SQLException
public void runSQLTemplate(java.lang.String path)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
runSQLTemplate in interface DBProcessjava.io.IOExceptionjavax.naming.NamingExceptionjava.sql.SQLExceptionpublic void runSQLTemplate(java.lang.String path,
boolean failOnError)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
runSQLTemplate in interface DBProcessjava.io.IOExceptionjavax.naming.NamingExceptionjava.sql.SQLExceptionpublic void runSQLTemplateString(java.lang.String template,
boolean evaluate,
boolean failOnError)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
runSQLTemplateString in interface DBProcessjava.io.IOExceptionjavax.naming.NamingExceptionjava.sql.SQLException