You only have to develop one DTO and retrieval method per entity.
这样您只得为每个实体开发一个DTO和一个检索方法。
The typical method is to look up the entity by its primary key, because that will guarantee a unique result.
典型的方法是根据实体的主关键字进行查询,因为这可以保证产生一个独一无二的结果。
This method allows you to provide your own entity resolution, preventing the parser from using the DTD for this task.
该方法允许您提供自己的实体解析,从而防止语法分析器使用DTD 来做这件事。
Collaborative method of use: Collaboration means that multiple users, usually in different roles, participate in the same process on a master data entity.
协作性使用方法:协作性意味着多个用户(常常具有不同的角色)参与与一个主数据实体相关的同一过程。
An asset is a special form of entity object that a resource method returns.
资产是资源方法返回的特殊形式的实体对象。
Therefore, Entity EJBs accesses in any business method of the session bean AccountManagement are executed in a global transaction.
因此,访问会话BeanAccountManagement中的业务方法的实体e JB都在一个全局事务中执行。
Now that I've got an Entity saved, it's helpful to have the ability to retrieve it; subsequently, I can add a "finder" method.
现在我已经存储了一个Entity,拥有查找它的能力将有所帮助。接下来,我可以添加一个“查找程序”方法。
Before updating the record, we used optimistic concurrency control with the set entity object method.
在更新记录之前,我们通过实体对象方法set使用了乐观并发控制。
A portlet accessing a remote entity bean directly usually results in several remote method calls.
直接访问远程实体Bean的Portlet通常会导致多个远程方法调用。
To find an individual entity by its key, you simply invoke the get method, which takes a class type and the key.
为根据键找到个别实体,您仅需调用get方法,该方法接受一个类类型和键。
A session bean accessing multiple entity beans is much more efficient and easy to maintain than allowing clients to make multiple remote method calls.
一个会话bean访问多个实体bean比允许客户机进行多次远程方法调用效率要高得多,维护起来也要容易得多。
There will be a corresponding query method for each named query that was created on the Department entity.
Department实体创建的每一个已命名查询,都将会有一个与之相对应的查询方法。
Considering the sample application, the implementation of the onLoad method ensures that the NotificationService is injected into the Person entity each time it is retrieved from the database.
对于该示例应用来说,onLoad方法的实现保证了每次从数据库中加载person实体后都将NotificationService注入其中。
I suppose if I was to follow your advice and use OO delegation, the LineItem entity would have a getDetailItemData() method.
我认为,如果我按照您的建议使用OO委托,LineItem实体将具有一个getDetailItemData()方法。
In this example, we configured the create method on the Home interface of MyBank entity bean to be accessible only by the manager role.
在此示例中,我们在MyBank实体Bean的Home接口上将create方法配置为只能由manager角色进行访问。
Well.. simple if you assume there is an entity EJB component called Product that has a method that recalculates its value and returns it.
假设有一个名为 Product 的实体EJB组件,其中具有一个用来计算并返回价格的方法。
The only difference is that the post string itself is passed in as a method parameter to the resource.post method after specifying the request and response media types and the response entity type.
唯一的不同在于,指定请求和响应媒体以及响应实体类型之后,post字符串本身作为方法参数传递到resource . post方法。
Invoke the HTTP method to the specified URI template by sending the request entity to the request using the exchange method.
通过使用exchange方法将请求实体发送到请求,调用到指定uri模板的HTTP方法。
This applies to a delegated method on an entity EJB, an entity Home method, a session facade, or (as you call it) a DTO assembler class.
这适合于实体e JB、实体home方法、会话外观或(如您所称)D TO装配器类上的已委托的方法。
This method returns an entity bean for the cart table row with the given CartId.
该方法返回一个用于购物车表的列的实体bean,这个实体bean有一个给定的CartId。
The only task this interceptor needs to perform is to pass the loaded entity to the autowire method of the RichDomainObjectFactory.
该拦截器需要做的唯一一件事就是将加载的实体传递给RichDomainObjectFactory的autowire方法。
B. FindByPrimaryKey: in this method, the objective is to get back a single OperatingSystem instance from the CIMOM using the primary keys of an entity bean.
FindByPrimaryKey:在这个方法中,其目标是使用实体bean的主键从CIMOM中返回单个OperatingSystem实例。
The Apache Wink run time USES the asset class to construct the actual response entity by calling the corresponding method of the asset class.
ApacheWink运行时通过调用资产类对应的方法构建实际的响应实体。
The EntityManager.query() method runs an SQL-like query to retrieve data from the database in the form of a collection of entity bean objects.
query()方法运行SQL化的查询,并以实体bean集合形式从数据库返回数据。
The get() method of Datastore allows you to load an entity using its ID.
Datastore 的get()方法允许您使用实体的ID加载该实体。
The transaction attribute can be specified for any session or entity bean method. The following attributes are defined in the EJB 2.1 specification.
可以为任何会话或实体bean方法指定事务属性。
The simplest way to access persistent data is by using the find method. Here is an example of an application using the entity manager to find an object by its primary key.
最简单的访问持久性数据的方法是使用find方法。
As far back as 1950, Alan Turing proposed the Turing Test as a method of determining whether an entity should be treated as intelligent.
回到1950年,阿兰·图灵推荐将图灵测试作为一种判定实体是否是智能的实体的方法。
Upon receiving a request, a servlet calls a method on a session bean, which then invokes a method on an entity bean.
在收到请求时,servlet调用会话bean上的一个方法,这个方法进而调用实体bean上的一个方法。
The EntityManager.persist method saves an entity bean object as a row in its mapped relational table.
persist方法将实体bean存为与之对应数据表的一条记录。
应用推荐