Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

@Retention(CLASS) @Target({METHOD})

public @interface Lock

Applies a lock to a findById lookup in the caller-owned transaction.

Methods

public abstract LockMode value()

Method details

value

public abstract LockMode value()