I think the correct way to do this is to have a recursive method call, e.g the DAO method should call itself recursively