2013/2/5 Jan Vervecken <
ver...@gmail.com>:
> - about "... simple relational database normalization principles ..."
> and "... e.g. to have multiple users doing almost exactly the same
> modifications ..."
> -- So, are you suggesting that if multiple users are responsible to make
> changes to EMPLOYEES records, some EMPLOYEES.EMAIL others EMPLOYEES.SALARY,
> that these should not be in the same database table?
the same table is fine here - for the exceptional case the company X
of employee Y
decides to change his email address, increase (or decrease) his salary
and assign 100 back office colleagues to
proceed with modifications (heavy load) of employee Y record at the
same time :)
And even then - in case an optimistic locking leaks under heavy load
- the last modification "wins" , so
the end result should by fine in this case, because i assume the data
all 100 back office colleagues are trying to
push into the system (a new email and a new salary) is the same.
>
> So, in general, if you say "IMHO it is rare ...", could that imply that the
> automatic "lost update" detection should not be automatic (but enabled when
> needed, in rare use-cases)?
IMHO it is fine to have this feature automatically enabled.
>
> Would you agree that if there is a feature like automatic "lost update"
> detection, that it should also work when the application is under load?
Of course - normally optimistic locking should't leak also under heavy load.
According to Chris the issue is under radar so i assume somebody at
Oracle is actively
considering all options (like versioning, checksum, timestamp etc.) to
make an optimistic locking in ADF reliable under heavy load.
Thanks for making aware about this issue - it is good to know in advance.
Someone familiar with optimistic locking implementation details in ADF
BC might probably provide an insight when it happens and
what does a "heavy load" mean - more than one concurrent modification
per second, millisecond ..?
Regards, Donatas