public void test() {
   EmployeeProject project = new EmployeeProject();
   ((DatasourceLogin) project.getDatasourceLogin())
       .usePlatform(OracleDBPlatformHelper.getInstance().getOracle9Platform());
   XMLProjectWriter.write("employee_project.xml", project);
   XMLProjectReader.read("employee_project.xml", getClass().getClassLoader());
 }
  public void applyLogin() {
    DatabaseLogin login = new DatabaseLogin();
    login.usePlatform(OracleDBPlatformHelper.getInstance().getOracle9Platform());
    login.setDriverClassName("oracle.jdbc.OracleDriver");
    login.setConnectionString("jdbc:oracle:thin:@tlsvrdb5.ca.oracle.com:TOPLINK");
    login.setUserName("qa9");
    login.setEncryptedPassword("BB742416276274A46959A54867978929");

    // Configuration Properties.

    setDatasourceLogin(login);
  }