-
Notifications
You must be signed in to change notification settings - Fork 0
List of annotations
@Configuration - class is sqlightning configuration
@Main - configuration is main configuration
@DBName - name of configured database
@DBVersion - version of configured database
@DBHelper - configured database has custom implementation of DBExtraHelper.class
@Column - declares that field represents column in table
@Id - column is primary key
@NotNULL - column cannot be NULL
@Unique - column must have unique value
@Relation - create relation between two tables
@Array - create array that will be automatically joined to table that holds this array
@Table - create table that will store entity
@Drop - table or array with this annotation will be dropped each time database will be updated or application will be restarted
@Entity - class with that annotation will be stored in database
@Repository - Interface that provides basic crud functionality
@Query - SQL query method
@Alias - argument with that annotation may be used in SQL query
@Read - set read mode on database provider
@Write - set write mode on database provider
@Implementation - method has custom implementation