用数据库表中对应的列,对代表列的容器管理字段进行定义。
Defines the fields that are container managed with the appropriate columns in the database table that they represent.
标注定义了EJB的类型、容器管理的字段、发现器查询、数据类型和其他在EJB部署描述中通常会出现的信息。
The annotations define the type of EJB, container-managed fields, finder queries, data types, and all the other information typically found in the deployment descriptors of an EJB.
第二个表格 answers 包含每个调查问题的答案,使用 poll 字段管理关系和当前答案投票数的计数值。
The second table, answers, holds the answers to each poll question, using the poll field to manage the relation and a count value with the current number of votes for that answer.
应用推荐