org.noorm.jdbc.JDBCColumn Maven / Gradle / Ivy
package org.noorm.jdbc;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation specification for database column name mapping
* @author Ulf Pietruschka / [email protected]
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface JDBCColumn {
String name() default "";
int dataType() default 0;
boolean insertable() default true;
boolean updatable() default true;
boolean nullable() default true;
boolean caseSensitiveName() default false;
int maxLength() default 0;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy