if (resultSet.next()) {
employee = new Employee(resultSet.getString("login"), resultSet.getString("senha"),
resultSet.getString("nome"));
} else {
System.out.println("not found " + login);
throw new ObjectNotFoundException(ExceptionMessages.EXC_FALHA_PROCURA);
}
resultSet.close();
stmt.close();
} catch (PersistenceMechanismException e) {
throw new RepositoryException(e.getMessage());