Changing the Resource Adaptor Entity State.