Package com.github.collinalpert.java2db.annotations

  • Enum Summary 
    Enum Description
    ForeignKeyEntity.JoinTypes  
  • Annotation Types Summary 
    Annotation Type Description
    ColumnName
    Sets the name of a column in a table for a POJO field.
    Default
    This annotation tells Java2DB to always use the database-default for a column on create or update.
    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.
    ForeignKeyPath
    This annotation is used to indicate that only a specific column of a table is supposed to be joined when executing the query.
    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.