@Retention(value=RUNTIME)
@Target(value=METHOD)
@Inherited
public @interface GlobalLock
declare the transaction only execute in single local RM,
but the transaction need to ensure records to update(or select for update) is not in global transaction middle
stage
use this annotation instead of GlobalTransaction in the situation mentioned above will help performance.