模块 org.redkale
程序包 org.redkale.persistence
提供类似javax.persistence包中的部分注解
-
类概要 类 说明 SearchColumn.HighLights VirtualEntity.DefaultFunctionLoader 默认全量加载器 -
注释类型概要 注释类型 说明 Column Specifies the mapped column for a persistent property or field.Entity Specifies that the class is an entity.GeneratedValue Provides for the specification of generation strategies for the values of primary keys.Id Specifies the primary key of an entity.Index Used in schema generation to specify creation of an index.Index.Indexs Index的多用类SearchColumn 搜索引擎的数据Entity依附在setter、getter方法、字段进行简单的配置Sql 原始sql语句, 标记在DataSqlMapper
方法上Table Specifies the primary table for the annotated entity.Transient Specifies that the property or field is not persistent.VirtualEntity VirtualEntity表示虚拟的数据实体类, 通常Entity都会映射到数据库中的某个表,而标记为@VirtualEntity的Entity类只存在EntityCache中