package org.javalite.activejdbc.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * This annotation is used to override name of a version column for optimistic locking */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface VersionColumn { String value(); }