Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Transactional integrity Sharepoint List

Is it possibly to guarantee transactional integrity when storing information in a Sharepoint list (SP 2010)?

like image 700
Jonas Røineslien Avatar asked Jan 11 '11 13:01

Jonas Røineslien


2 Answers

Underneath the covers a single SharePoint operation like adding a list item can involve multiple database operations and they will all be protected by a single database transaction. With that said, the product doesn't expose that transactional capability to you so that you can perform multiple SharePoint operations under the aegis of a single transaction. To be very safe, you'll need to implement very carefully coded error handlers.

like image 74
Mark Mascolino Avatar answered Nov 15 '22 08:11

Mark Mascolino


According to this, SharePoint 2010 does not offer any transactional support out of the box.

The underlying database does support transactions, so a single insert will probably either succeed or fail, but if an error occurs during a complex routine involving multiple database operations, the data will end up being partially modified.

like image 25
Frédéric Hamidi Avatar answered Nov 15 '22 06:11

Frédéric Hamidi