final SQLAlias testAlias = cache.createAlias(factory.createIdentifier());
try
{
applyFromDialog(testAlias);
ConnectionCallBack cb = new ConnectionCallBack(_app, testAlias);
ConnectToAliasCommand cmd = new ConnectToAliasCommand(_app,
testAlias, false, cb);
cmd.execute();
}
catch (ValidationException ex)
{
_app.showErrorDialog(ex);
}