(2) 需要一个标识属性(identifier property)(可选),它映射数据库表中的主键字段,为代理主键,它最好不代表业务逻辑,如:private Long id;最好用Long类型。
基于1个网页-相关网页
property-based identifier syntax 基于属性的标识符语法
If the entity defines a named identifier property, you may use that property name.
如果一个实体定义一个标识属性,就可以使用这个属性名字。
Record "{0}" - The Tag Identifier property cannot be blank when Tag Offset property is set.
记录“{0}”- 如果设置了标记偏移量属性,则标记标识符属性不能为空。
A property of this node is its unique identifier — a 1 to 12 character label.
此结点有一个属性,即它的唯一标识符——由1到12个字符组成的标签。
应用推荐