throws Exception
{
System.out.println("Reading properties from \"" + RDBMSRealm.RDBMS_PROPS +
"\" ...");
RealmProperties props =
new RealmProperties(RDBMSRealm.class, RDBMSRealm.RDBMS_PROPS);
String driver = props.get(RDBMSDelegate.DRIVER);
System.out.println("Setting up driver \"" + driver + "\" ...");
Class.forName(driver).newInstance();
String url = props.get(RDBMSDelegate.DB_URL);
String user = props.get(RDBMSDelegate.DB_USER);
String passwd = props.get(RDBMSDelegate.DB_PASSWORD);
System.out.println("Connecting to URL \"" + url + "\" ...");
Connection conn = DriverManager.getConnection(url, user, passwd);