Package com.github.collinalpert.java2db.annotations

  • Annotation Types Summary 
    Annotation Type Description
    ColumnName
    Sets the name of a column in a table for a POJO field.
    DefaultIfNull
    This annotation tells Java2DB to use the database-default for a column if the corresponding Java field marked with this annotation is null.
    ForeignKeyEntity
    Marks a field as the correspondent object to a foreign key.
    Ignore
    Marks a field as ignored, meaning it does not exist on the database or should not be filled with values.
    TableName
    Specifies the database table name for an entity.