Update jpa transient state.