All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.noorm.jdbc.JDBCColumn Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
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