I am using Orbeon Forms 4.7 PE. I configured multiple Oracle persistence providers per the documentation:
When I tested publishing the same form definition multiple times, versioning was not enabled. Form Builder did not ask if I wanted to create a new version.
I tried the single provider configuration documented here:
With that configuration, it worked fine. Versioning was enabled.
It should work with the multiple providers I configured.
I searched the code base and found that there is a property enabling versioning for each of the predefined providers (except eXist because it doesn't support it). For example:
<property as="xs:boolean" name="oxf.fr.persistence.oracle.versioning" value="true"/>
I was able to turn on versioning for my providers using a similar property, e.g.,
<property as="xs:boolean" name="oxf.fr.persistence.myprovider1.versioning" value="true"/>
<property as="xs:boolean" name="oxf.fr.persistence.myprovider2.versioning" value="true"/>
There doesn't seem to be any documentation for this property. It would be nice if this were mentioned in the documenation regarding multiple providers.