Changes

Jump to navigation Jump to search
48 bytes removed ,  18:38, 1 December 2023
m
Text replacement - "syntaxhighlight" to "pre"
The imported Java class is shown below:
<syntaxhighlight pre lang="java">
package org.basex.examples.query;
The result will look as follows:
<syntaxhighlight pre lang="xml">
<user>admin</admin>
<error>Integer conversion failed: abc</error>
The {{Code|@Updating}} annotation can be applied to mark Java functions that perform write or update operations:
<syntaxhighlight pre lang="java">
@Updating
public void backup() {
If you want to synchronize the execution of your code with BaseX locks, you can take advantage of the {{Code|@Lock}} annotation:
<syntaxhighlight pre lang="java">
@Lock("HEAVYIO")
public void read() {
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu