e = service.registerEmployee(add.getFirstName(), add.getLastName(), add.getEmail(), add.getPw(), new Long(1), "foo", ssn, "Employee", new Date(new java.util.Date().getTime()), "A1", new Double(100000));
RoleService rs = new RoleService();
Role role = rs.getById(new Integer(add.getRoleId()));
EmployeeRoles er = new EmployeeRoles(new Date(new java.util.Date().getTime()), e, role);
EmployeeRolesService ers = new EmployeeRolesService();
ers.store(er);
rv.setMessage("Employee addition Complete");
add.setResultMessage("Employee successfull added");
} catch (Exception e1) {
if (e != null) {
service.remove(e);