jdaugherty commented on code in PR #963:
URL: https://github.com/apache/grails-doc/pull/963#discussion_r2006389976


##########
src/en/ref/Domain Classes/lock.adoc:
##########
@@ -22,8 +22,8 @@ book.lock()
 === Description
 
 
-The `lock` method obtains a pessimistic lock on an instance, locking the row 
in the database with `select ... for update`. The `lock` method is equivalent 
to using Hibernate's 
http://docs.jboss.org/hibernate/orm/current/javadocs/org/hibernate/LockMode#UPGRADE.html[LockMode.UPGRADE]
 in combination with the 
http://docs.jboss.org/hibernate/orm/current/javadocs/org/hibernate/Session#lock(java/lang/Object,
 org/hibernate/LockMode).html[lock] method.
+The `lock` method obtains a pessimistic lock on an instance, locking the row 
in the database with `select ... for update`. The `lock` method is equivalent 
to using Hibernate's 
https://docs.jboss.org/hibernate/orm/current/javadocs/org/hibernate/LockMode#UPGRADE.html[LockMode.UPGRADE]
 in combination with the 
https://docs.jboss.org/hibernate/orm/current/javadocs/org/hibernate/Session#lock(java/lang/Object,
 org/hibernate/LockMode).html[lock] method.

Review Comment:
   current instead of 5.x?  I'm going to forego making this comment over and 
over.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to