
com.github.risedragon.mysql.asm.OptimisticLockAnnotationVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-mysqlclient Show documentation
Show all versions of spring-mysqlclient Show documentation
A very simple/efficient Mysql Client Framework
The newest version!
package com.github.risedragon.mysql.asm;
import org.springframework.asm.AnnotationVisitor;
import org.springframework.asm.SpringAsmInfo;
import com.github.risedragon.mysql.data.OptimisticLockAnnotation;
class OptimisticLockAnnotationVisitor extends AnnotationVisitor {
final OptimisticLockAnnotation data;
public OptimisticLockAnnotationVisitor(OptimisticLockAnnotation data) {
super(SpringAsmInfo.ASM_VERSION);
this.data = data;
}
@Override
public void visit(String name, Object value) {
if ("column".equals(name)) {
data.column = (String) value;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy