How is persistenceVersion used in BDM

1
0
-1

What is persistenceVersion used for?

I would like to track revisions for some BDM variables for a process, and I am wondering if this is what persistenceVersion field is for.

2 answers

1
+1
-1

Hello

Every time you update a record in your database, the persistence version of that particular row is incremented by 1.
Persistence version column is auto created and initial value is set at 0. After first bdm data updation, its value becomes 1 and then 2 and so on.
regards

1
+1
-1

The persistenceVersion field is handled by the underlying Hibernate java persistence library, used in Bonita.

It is used to detect changes to the record performed by other sessions in concurrent environments.

Hope this helps.

Notifications