public class JDBCSetup
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
Constructor and Description |
---|
JDBCSetup() |
Modifier and Type | Method and Description |
---|---|
private static void |
cmdLineError()
Handles command line parameter errors.
|
private static boolean |
executeAddlSQL(JDBCConnectionInfo cninf)
Executes additional setup SQL statements per the files defined by the
"JDBCSetup.addl.sql.files" properties value.
|
static void |
main(java.lang.String[] args)
Main entry point for when the class is started from a command line.
|
private static final long serialVersionUID
public static void main(java.lang.String[] args)
args
- (String[]) A String
array of startup
parameters for the class.private static void cmdLineError()
private static boolean executeAddlSQL(JDBCConnectionInfo cninf)
cninf
- (JDBCConnectionInfo) The JDBC connection to use.true
if the SQL executions are successful,
otherwise false
.