
jodd.db.oom.meta.DbId Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jodd-db Show documentation
Show all versions of jodd-db Show documentation
Jodd DB is efficient and thin database facade; DbOom is convenient database object mapper.
// Copyright (c) 2003-2012, Jodd Team (jodd.org). All Rights Reserved.
package jodd.db.oom.meta;
import jodd.db.type.SqlType;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* {@link jodd.db.oom.DbOomManager} ID column mapping, not necessary to use, but it might be helpful.
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface DbId {
/**
* ID column name.
*/
String value() default "";
/**
* SqlType class.
*/
Class sqlType() default SqlType.class;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy