How does this entity class tie in with a database?
这个实体类如何与数据库联系起来?
Listing 1 shows a simple EJB3 entity class called GreetingCard.
清单1展示了一个简单的EJB3实体类,称为GreetingCard。
A loader bean is added to the objectgrid.xml along with the necessary entity class names.
加载器bean可以与必要的实体类名一起被加入到objectgrid .xml中。
Drag the Customer class to the Entity Classes parameter to update the session bean class.
将Customer类拖至entity Classes参数用以更新session bean类。
The entity class has properties that map to the columns in the selected table or view.
这个实体类别的属性会对应至所选取资料表或检视中的资料行。
The Employee entity class contains the representation of the table and its column as fields.
Employee实体类包含了表格与它包含的列。
Demonstrates how to create an entity class and a simple query to filter the entity class.
演示如何创建一个实体类以及一个用于筛选实体类的简单查询。
Below is an example of how you can define a named query and associate it with an entity class.
下面是如何定义命名查询,并将其与实体类关联的一个示例?
The wizard generates an entity class with the same name as the corresponding database table.
向导生成的实体类名称与对应的数据库表名完全一样。
Your entity class must have matching fields on the class or it can embed the key as an embeddable key
您的实体类必须在类上具有匹配字段,或者它可以作为可嵌入键嵌入该键
For example, an entity class named Department is assumed to map to a database tabled named Department.
例如,假设一个名为Department的实体类,与一个名为Department的数据库表相映射。
In other words, an entity class can have only a 1:1 mapping relationship with a database table or view.
换句话说,实体类与数据库表或视图之间只能具有1:1映射关系。
The following procedure shows how to validate when an attempt is made to update a complete entity class.
下面的过程演示在尝试更新完整实体类时如何进行验证。
The concrete DAO for the Person entity class should add finder methods that are specific to the Person entity.
Person实体类的具体DAO应该增加一个特定于Person实体的finder方法。
Any information exchanged as part of those requests (e.g., parameters) is represented by an instance of an IO Entity class.
任何作为那些请求一部分的交换的信息(例如,参数)都由一个IO实体类的实例表示。
This is done to more accurately represent the fact that the instantiated entity class maps to a single record of data.
这样可以更准确地表示实例化的实体类映射到单个数据记录的事实。
All derived entity classes and the session class inherit the common code of the create and find methods from the BOBase class.
所有派生实体类和会话类都继承了bobase类中create和find方法的公共代码。
The Entity class is the superclass of many of SketchUp's classes, as shown in Figure 2, which shows most of the Entity subclasses.
Entity类是SketchUp 中很多类的超类,如图2 所示,该图显示了大部分 Entity 子类。
In addition to checking values during changes, you can also validate data when an attempt is made to update a complete entity class.
除了可以检查变更期间的值以外,您还可以在发生整个实体类别的更新时验证资料。
An entity class is a class that represents an entity in a business model. In our model, the entity classes are Customer, Order, and OrderItem.
一个实体类在业务模型中代表着一个实体,在我们的业务模型中,实体类是Customer、Order、和OrderItem。
Instead, you can use the Hibernate Validator annotations to assign validation criteria to the properties of your entity class, as shown in Listing 13.
取而代之,可以使用HibernateValidator注释向实体类属性指派验证标准,如清单13所示。
For better readability, the relationships in our scenario are expressed through object or relational metadata specified directly in the entity class files.
为了提高可读性,通过在实体类文件中直接指定的对象或关系元数据表达场景中的关系。
To add a new row to your table, you simply create an instance of your entity class, set the attributes, and tell the EntityManager to persist the new entity.
为了向您的表格添加一个新行,您只需创建一个实体类的实例,设置其属性,并更新类entitymanager以支持新实体。
For an entity class, at least one member must have this attribute and should be mapped to the primary key or a unique key in the corresponding table or view.
对于实体类,必须至少有一个成员具有此特性,并应映射到相应表或视图中的主键或唯一键。
Each index can be specified using the @index annotation in an Entity class or by using the HashIndex plug-in configuration in an ObjectGrid descriptor XML file.
可以使用 Entity 类中的 @index注释或ObjectGrid描述符XML文件中的 HashIndex插件配置指定每个索引。
Each IER's content represents an instantiation of an OV-6c IO Entity class (see below), where the attributes represent the data characteristics that the DoDAF requires.
每个IER的内容都表示OV - 6cIO实体类(见下)的实例,在此,属性表示DoDAF需要的数据特征。
Generally, it does this by maintaining awareness or state of the mapped entity class instances it is responsible for by keeping a first-level cache of instances, valid for a single thread.
通常,它通过保留对单个线程有效的一级缓存实例,维护它负责的映射实体类实例的可识别性或状态,从而做到这一点。
With this approach, you map an entire class hierarchy into one data entity, where all the attributes of all the classes in the hierarchy are stored.
使用这种方法,您可以将一个完整类层次结构映射成一个数据实体,而层次结构中所有类的所有属性都存储在这个实体中。
Each class in the relationship model can be mapped to an entity EJB component.
关系模型中的每个类均可以映射一个实体e JB组件。
The heart of every application is the base model that describes it -- a domain model, class model, logical model, entity model, or the like.
每一个应用系统的核心是描述这个系统的基础模型 --领域模型、类模型、逻辑模型、实体模型等等。
应用推荐