Issue : I have a BPEL process where I have a job and corresponding to a single job I need to load n number of xml files to database. I create a unique job in database and then keep updating that row with whatever number of xml files I loaded in the database for that job. The problem was since BPEL was doing parallel processing so all the xml files were getting processed at the same time and were trying to update the same row. Due to Oracle's read consistent property all of them were getting the loaded value as 0 initially and each one of them updated the xmlLoaded column to 1; where as what I wanted was that if I load 11 xml's then the load should happen sequentially as well the count shall be sequentially updated to 11.
<property name="SingleThreadModel" value="true"/>
<property name="MaxRaiseSize" value="1"/>
These properties go between the </activation-spec> tag in the file adapter.