CreateClusterTool to create a database cluster. This will copy a database to another location if required, and modify the cluster setting.
void execute(String urlSource, String urlTarget, String user, String password, String serverlist) throws SQLExceptionCreates a cluster.Parameters:
urlSource - the database URL of the original database
urlTarget - the database URL of the copy
user - the user name
password - the password
serverlist - the server list
Throws:
SQLException
static void main(String[] args) throws SQLExceptionThe command line interface for this tool. The options must be split into strings like this: "-urlSource", "jdbc:h2:test",... Options are case sensitive. The following options are supported:
Parameters:
args - the command line arguments
Throws:
SQLException
void run(String[] args) throws SQLException |