Jump to navigation Jump to search
623 bytes added ,  14:36, 23 June 2020
no edit summary
Please visit the XQuery 3.0 specification if you want to get more insight into
[ function properties].
{{Mark|Introduced with Version 9.4.}}
The {{Code|@Updating}} annotation can be applied to mark Java functions that perform write or update operations:
<syntaxhighlight lang="java">
public void backup() {
// ...
If the function call is parsed, it will be wrapped with a {{Function|Update|update:output}} function call. In contrast to other update operations, the Java function will be executed directly when it is called.
If updating annotations are combined with locks, concurrent operations can be queued:
; Version 9.4
* Added: Annotation for [[#Updates|updating functions]].
* Updated: Single annotation for read and write locks.
Bureaucrats, editor, reviewer, Administrators


Navigation menu