The proxy class is an actual subclass of the persistent class.
实际上,代理类是持久化类的子类。
The portion provides an explicit map between columns in the database and properties of a persistent class.
部分提供了数据库字段与持久化类属性之间的一显式映射。
So, one need only add a few lines of code to an application and create a simple mapping file for each persistent class, and NHibernate takes care of all database operations.
好了,我们只需要在程序中添加几行代码,和为每一个映射文件创建持久化类,而且NHibernate可以照顾到所有的数据库操作。
The table must match the definition of your attributes; for example, the primary database key for the equations table must be the primary key of the Persistent class as well.
表必需与属性定义匹配,例如,等式表的主数据库键必须也是 Persistent类的主键。
Figure 1 presents a base class for persistent entities that contains the necessary auditing fields.
图1为包含审计字段的持久化实体提供了一个基类。
The warning comes in new international study into the links between climate change and a class of man-made toxins called persistent organic pollutants.
这样的警告来自于一份全新的国际科学报告,它详细研究了气候变化与名为“持久性有机污染”的一系列人为有毒物质之间的关系。
The file Equation.pm contains all the code necessary to inherit from a Persistent: : DBI class.
文件equation . pm包含从Persistent:dbi类继承所需的所有代码。
The solution that JPA 2.0 provides is the ability to instantiate a metamodel class named Person_ that corresponds to Person by exposing the same persistent attributes statically.
JPA 2.0提供的解决办法通过静态地公开相同的持久化属性实例化名为 Person_的元模型类(对应于Person)。
Before JPA 2.0, this semantic distinction was represented via corresponding class-level annotations in the persistent-class definition.
在JPA 2.0之前,这种语义区分是通过持久化类定义中的对应类级别注释来表示的。
The annotations inform Hibernate what within a class should be considered persistent.
注释告知Hibernate一个类中的哪些内容可以考虑留存。
The model is made up of five classes, four of which are persistent. The non-persistent OrderSystem class serves as the root of the object model.
这个模型由5个类组成,其中的4个是要持久化的类,非持久化类oradersystem当做这个对象模型的宿主。
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.
元模型类被注释为 @StaticMetamodel(domain.Person.class)以将其标记为一个与原来的持久化 domain.Person实体对应的元模型类。
It has colorful second class activities and the youth volunteer activities are persistent.
第二课堂活动丰富多彩,青年志愿者活动坚持常年不懈。
It has colorful second class activities and the youth volunteer activities are persistent.
第二课堂活动丰富多彩,青年志愿者活动坚持常年不懈。
应用推荐