发明名称 Generic database manipulator
摘要 A middle layer in business applications is provided to wrap all the database management operations generically, to store changed data temporarily, to validate and lock the data before updating the database, and to synchronize the data change and unlock it as a whole when a commit method is called. In embodiments, only six generic methods are needed for all data interactions. Transaction, isolation level, exception format, and performance tuning operations can be performed centrally in the six generic methods. A buffer section may be created in the middle layer. Operations such as insert, update, delete, and select are performed on data stored in the buffer. Buffered data may then be stored in a data storage device.
申请公布号 US8868577(B2) 申请公布日期 2014.10.21
申请号 US200611394872 申请日期 2006.03.31
申请人 SAP SE 发明人 Wei Haichao H.;Shi Ling L.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 Kenyon & Kenyon LLP 代理人 Kenyon & Kenyon LLP
主权项 1. A computer-implemented method for manipulating data in a database comprising: responsive to a first command from a user to manipulate a first data object in the database: allocating buffer storage to the first data object in a middle layer;establishing a first connection to the database;performing the first command upon the first data object in the buffer storage while maintaining the first connection;performing a first step of storing any data changes caused by the first command in the buffer storage, wherein the first command is a call from the user to select one of a plurality of generic database manipulators in the middle layer which is in a server coupled to the database; andreleasing the first connection after the first step of storing any data changes; responsive to a second command from the user to manipulate a second data object in the database: allocating buffer storage to the second data object in the middle layer;establishing a second connection to the database;performing the second command upon the second data object in the buffer storage while maintaining the second connection;performing a second step of storing any data changes caused by the second command in the buffer storage;releasing the second connection after the second step of storing any data changes; and in a single transaction performed after the first connection and the second connection have been released, one of committing all data changes caused by the first command and the second command to the database and rolling back all data changes caused by the first command and the second command.
地址 Walldorf DE