Skip to main content

[jpa-spec users] [jsr338-experts] locks and fetch graphs / eager fetching

  • From: Christian von Kutzleben <cvkutzleben@...>
  • To: jsr338-experts@...
  • Subject: [jpa-spec users] [jsr338-experts] locks and fetch graphs / eager fetching
  • Date: Wed, 10 Jul 2013 09:55:51 +0200
  • List-id: <jsr338-experts.jpa-spec.java.net>

Dear group,

In our understanding EntityManager.lock() only applies the lock to the
specified entity and
also during lazy loading triggered by object navigation locks won't get
propagated.

But if a user specifies a lock-mode in the find or refresh method or for a
query,
is this lock-mode supposed to be applied to all objects fetched* along
because
of FetchType.EAGER or a configured fetch graph as well?

*fetched, or would be fetched if not already in context

Thank you!

Christian

-- 

*Christian von Kutzleben*
Chief Software Engineer
Versant GmbH, Subsidiary of Actian Corporation
christian.vonkutzleben@...

PHONE +49 40 60990-273
FAX +49 40 60990-113
www.actian.com

Versant GmbH is incorporated in Germany. Company registration number: HRB
54723, Amtsgericht Hamburg. Registered Office: Halenreie 42, 22359 Hamburg,
Germany. Geschäftsührer: Marc Monahan, Fred Gallagher, Volker John

[image: Facebook-icon] <http://www.facebook.com/actiancorp>[image:
Twitter-icon] <http://twitter.com/actiancorp>[image:
Linked-In-icon]<http://www.linkedin.com/company/actian-corporation>[image:
You-Tube-icon] <http://www.youtube.com/actiancorporation>[image:
http://davidwalsh.name/dw-content/googleplus-icon.png]<http://www.gplus.to/actiancorp>

*[image: cid:image001.jpg@01CC7916.C4DCFC40] <http://www.actian.com/>*

This transmission is confidential and intended solely for the use of the
recipient named above. It may contain confidential, proprietary, or legally
privileged information. If you are not the intended recipient, you are
hereby notified that any unauthorized review, use, disclosure or
distribution is strictly prohibited. If you have received this transmission
in error, please contact the sender by reply e-mail and delete the original
transmission and all copies from your system.

Attachment: image007.jpg
Description: JPEG image

Attachment: image001.png
Description: PNG image

Attachment: image004.png
Description: PNG image

Attachment: image008.png
Description: PNG image

Attachment: image003.png
Description: PNG image

Attachment: image002.png
Description: PNG image



[jpa-spec users] [jsr338-experts] locks and fetch graphs / eager fetching

Christian von Kutzleben 07/10/2013

[jpa-spec users] [jsr338-experts] Re: locks and fetch graphs / eager fetching

Linda DeMichiel 07/10/2013

Message not available

[jpa-spec users] [jsr338-experts] Re: locks and fetch graphs / eager fetching

Linda DeMichiel 07/10/2013
 
 
Close
loading
Please Confirm
Close