public class JavaDBDomainStorageInstaller
extends java.lang.Object
| Constructor and Description |
|---|
JavaDBDomainStorageInstaller(java.lang.String host,
int port,
java.lang.String database,
java.lang.String adminPassword)
Create a domain storage installer for a remote install.
|
JavaDBDomainStorageInstaller(java.lang.String database,
java.lang.String adminPassword)
Create a domain storage installer for a local install.
|
| Modifier and Type | Method and Description |
|---|---|
void |
install(java.lang.String routinesJar)
Install the database with the given routines jar.
|
void |
setDebug(boolean isDebug)
Set debug.
|
void |
setVerbose(boolean isVerbose)
Set verbose logging.
|
public JavaDBDomainStorageInstaller(java.lang.String database,
java.lang.String adminPassword)
database - The database name. Since this is a local install, this is the path to the database directory.adminPassword - The admin password to use.public JavaDBDomainStorageInstaller(java.lang.String host,
int port,
java.lang.String database,
java.lang.String adminPassword)
host - The host.port - The port.database - The database name.adminPassword - The admin password to use.public void setVerbose(boolean isVerbose)
isVerbose - True to enable verbose logging.public void setDebug(boolean isDebug)
isDebug - True to enabled debugging. Queries will log plans on the database log. This should only be
enabled for testing purposes.public void install(java.lang.String routinesJar)
throws java.sql.SQLException
routinesJar - The routine jar.java.sql.SQLException - On any failure.