Perform delete and insert of process models in separate transactions, as a work around for hibernate issue HHH-2801.