公共表表达式(with子句)允许数据更新操作的高效管道。
Common table expressions (the WITH clause) allow efficient pipelining of data-change-operations.
在操作阶段中,该程序对XML文档中的元素进行添加、修改和删除的数据更新操作。
In the manipulating stage, the program makes changes to the data by adding, modifying, and deleting elements in the XML document.
由DAO所执行的每一个操作——如创建、更新或者删除数据——都与一个事务相关联。
Each operation performed by a DAO — such as creating, updating, or deleting data — is associated with a transaction.
然后,控制器可以决定用该数据更新模型的主实例,或者根据这些值采取某种操作。
The controller can then decide to update the primary instance of the model with this data or take some action based on these values.
更新操作实现必须对数据库记录进行限定的更新操作,如“如果修订计数器等于…则更新记录…”。
The update operation implementation must make a qualified update to the database record such as, "update record.".. where the the revision counter equals...
这些更新还可以与J2EE元素外的其他解决方案支持组件一起使用,如数据库更新、操作系统更新,等等。
These updates may also be combined with other supporting solution components outside the J2EE elements, such as database updates, operating system updates, and so on.
清单1显示了一个有两种数据操作的DAO:创建和更新。
Listing 1 shows a DAO with two data operations: create and update.
使Portlet提供对某些数据的标准CRUD操作(即创建、读取、更新、删除)。
Enable the portlet to provide standard CRUD (create, read, update, delete) on some data.
原因是这些更新操作都要求同步地写到数据库日志。
This is because these update operations require synchronous writing to the database log.
在这个例子中,如果目标和源数据表有匹配的行,就实行更新操作。
In this example, and update occurs if the target and source have matching row.
这样可以将多个更新操作提交到一个数据源并进行一次性处理。
This allows multiple update operations to be submitted to a data source for processing at once.
在本例中,某些数据库更新操作可能会被反转,而另外一些不会,有时需要手动干预修复这一问题。
In this case some database update operations might be reversed while others are not, sometimes requiring manual intervention to fix the problem.
下面我们将介绍,对数据库的操作包括创建、更新和删除。
As we will show, for a database, the operations include create, update, and delete.
基本测试应该包括对检验代码和断言以及数据库操作(比如创建、读取、更新和删除,CRUD)的测试。
Basic tests should include the testing of validation code and assertions, and database operations such as Create, Read, Update and Delete (CRUD).
它直接建立数据库连接来执行数据库操作,如数据更新和结果集检索。
It establishes database connections directly to perform database operations such as data updates and result set retrieval.
无论使用开源、商业还是自定义补偿框架,您都必须提供可以调用的方法、SQL或存储过程来反转数据库更新操作。
Whether you use an open source, commercial, or custom compensation framework, you still must provide the method, SQL, or stored procedure to invoke to reverse the database update operations.
如果同时对不同网络上的两个数据库执行更新操作,这两个数据库不会同时准确地获取下一个惟一标识符。
If an update operation is made at the same time on two databases on separate networks, they cannot both accurately retrieve the next unique identifier.
通过此策略,由于您未对数据保持读取锁,因此在执行更新操作时遇到失效数据异常的机率会增加。
With this strategy, because you are not holding read locks on data, the chance of getting stale data exceptions when you execute the update operations increases.
查看更新后的行数,验证执行恢复操作之后数据是否完整无缺。
Look at updated row counts to verify that the data is intact after the restore operation.
本文描述如何约束用户访问这些可以更新或者获取数据库数据的操作。
This article describes how you restrict users access to these database operations that could update or retrieve data from the database.
只有部分数据副本参与更新操作,且/或作为读操作的一部分与其它副本进行联系时,就会出现弱/最终一致性。
Weak/eventual consistency happens when not all data replicas participate in the update operation and/or contacted as part of read operation.
使用本地事务,数据库更新操作会被视为单个的工作单元而不是一个整体。
With local transactions, database update operations are treated as individual units of work rather than a collective whole.
这会告诉补偿协调器数据库更新操作已经成功完成并且需要被添加到可能的补偿活动清单。
This tells the compensation coordinator that a database update operation has successfully completed and needs to be added to the list of possible compensation activities.
例如,如果工作流中的一个活动更新了数据库,那么相应的补偿操作将反转这个更新。
For example, if an activity in a workflow updates a database, the corresponding compensation action reverses the update.
从数据持久化的角度看,进行数据库更新操作的最快速的方式是将本地事务与数据库存储过程一起使用。
From a data-persistence standpoint, the fastest way to perform a database update operation is to use local transactions combined with database stored procedures.
查询函数能够处理标准化数据库事务,以便创建、读取、更新和删除数据(通称CRUD操作)。
The querying functions are capable of coping with the standard database transactions for creating, reading, updating, and deleting data (known as CRUD operations).
更新和删除操作所针对的文档是在数据库中随机选择的。
Documents in the database are randomly selected for update and delete operations.
如果经常反转数据库更新操作,系统速度会减慢而且与使用其他事务策略相比,这个策略可能会导致整体性能下降。
If you are constantly reversing your database update operations, your system will slow down and probably perform more slowly overall than if you were to use one of the other transaction strategies.
也许会通过应用程序的代码在数据库更新失败的时候“撤销”对队列的操作。
Perhaps the application code will try to "undo" the queue operation if the database update fails.
也许会通过应用程序的代码在数据库更新失败的时候“撤销”对队列的操作。
Perhaps the application code will try to "undo" the queue operation if the database update fails.
应用推荐