Explicit locking in JPAStorageService
Etienne Dysli-Metref
etienne.dysli-metref at switch.ch
Wed Nov 4 04:43:59 EST 2015
I'm reading the current unreleased code of
org.opensaml.storage.impl.JPAStorageService and seeing it is often
requesting locking (with javax.persistence.LockModeType), especially
pessimistic locking. Could someone explain the rationale behind
requesting specific lock types instead of, for example, letting the
database decide which locking level is appropriate for a query?
Cheers,
Etienne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://shibboleth.net/pipermail/dev/attachments/20151104/72b706c1/attachment.sig>
More information about the dev
mailing list