Access intent best practices

This topic outlines issues to consider when applying access intent policies to EJB methods.

  • Take care when applying wsPessimisticUpdate-NoCollision. This policy does not ensure data integrity. No database locks are held, so concurrent transactions can overwrite each other's updates. Use this policy only if you can be sure that only one transaction will attempt to update persistent store at any given time.


 

See Also


Access intent policies
Concurrency control

 

Related Tasks


Using access intent policies

 

See Also


Access intent -- isolation levels and update locks