
sf.database.annotations.SavedDefaultValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sorm Show documentation
Show all versions of sorm Show documentation
java jpa tool for spring
The newest version!
package sf.database.annotations;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* 插入时,当该对象属性值为null时,使用对象属性的默认值(比如默认的初始化的值).
*/
@Target({FIELD})
@Retention(RUNTIME)
public @interface SavedDefaultValue {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy