[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4661?page=c...
]
Steve Ebersole commented on HHH-4661:
-------------------------------------
What is the exact semantic here in terms of what to lock? Hibernate query locking is
based on the individual "identification variables". In others words given an
HQL query "from Animal a join fetch a.friends", setLockMode( "a",
someLockMode ) only affects the lockmode of the root return because it is only applied to
the root from via its alias.
What is the rule for this in JPA ql/criterias?
Properly propagate Query.setLockMode to Hibernate Core
------------------------------------------------------
Key: HHH-4661
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4661
Project: Hibernate Core
Issue Type: Sub-task
Components: entity-manager
Reporter: Emmanuel Bernard
Fix For: 3.5.0-Beta-4
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira