com.j256.ormlite.field
Annotation Type DatabaseFieldId
@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface DatabaseFieldId
This can be used instead of DatabaseField
. This adds fields to the DatabaseFieldSimple
annotations
which _must_ also be specified for this annotation to be detected.
- Author:
- graywatson
id
public abstract boolean id
- See Also:
DatabaseField.id()
- Default:
- false
generatedId
public abstract boolean generatedId
- See Also:
DatabaseField.generatedId()
- Default:
- false
generatedIdSequence
public abstract String generatedIdSequence
- See Also:
DatabaseField.generatedIdSequence()
- Default:
- ""
allowGeneratedIdInsert
public abstract boolean allowGeneratedIdInsert
- See Also:
DatabaseField.allowGeneratedIdInsert()
- Default:
- false
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.