setInitialState

protected final void setInitialState(S initialState, Version version)

Sets an initial state for the entity.

The execution of this method requires a presence of active transaction.