思维模式并不尽相同﹐但下述各项是OO软体师的常见思维模式﹕ (1) 实体对应(entity mapping) 首先 专注于了解问题领域(problem domain)中的各实体(entity)﹐并认…
基于16个网页-相关网页
元模型类被注释为 @StaticMetamodel(domain.Person.class)以将其标记为一个与原来的持久化 domain.Person实体对应的元模型类。
The metamodel class is annotated as @StaticMetamodel(domain.Person.class) to designate it as a metamodel class corresponding to the original persistent domain.Person entity.
我们将该实体映射到单个包括对应列的数据库表。
We mapped the entity to a single database table that includes the corresponding columns.
在我们的示例应用程序中,我们有4个对应的JPA实体,如图4中的类图所示。
In our sample application, we have four corresponding JPA entities, as shown in the class diagram in Figure 4.
应用推荐