I am trying to figure out how to easily use spring state machine including persistence with JPA. This is the problem I am currently dealing with:
Configuring Stat