: 1995 | 49314 | 5830

Commit/Rollback Changes 
Come see IdeaJam and LinkJam at Lotusphere 2009 in the Product Showcase at pedestal #227
Use this IdeaSpace to post ideas about Domino Designer.

: 21
: 22
: 1
: Domino Designer
: document
: Rajeev Menon 12 Dec 2007
: Open
: / Email
I developed a website where there is a feature to sort/move the content documents. A sort/move action would modify (Sort Order Number) most of the documents. If some error came up, some of the documents will be in modified state and some will be in original state. This mess up the whole website layout.
 
Though chances of error is very rear, I still implemented a commit/rollack mechanism myself. This is by saving the new values to temporary fields and as the last line of the agent, moving the new values to the actual fields. It wasn't that hard to implement this.
 
But, if Domino itself provides this Commit/Rollback feature......may be that will help us save some time.



1) Axel Janssen (12 Dec 2007)
I think it will be quite hard to implement this ex-post. But I see it as important. Especially for integration with other systems. If its there, this domino-transaction should be able to participate in 2-phase-commit transactions of J2EE/EE5. This would make integration of Domino applications in SOA architecture or J2EE/EE5 a lot more straight forward.
2) Thomas Bahn (13 Dec 2007)
Yeah, DominoTxn! :-D
3) Thomas Bahn (13 Dec 2007)
Sorry, couldn't resist. ;-)

Axel is absolutely right: It would be great for integration, but HARD to implement. VERY HARD!
4) Giulio C (25 Aug 2008)
This has been one of the gaping weaknesses for Domino. How many times have complex document hierarchies and relationships been corrupted when a process only completes half the changes because of an "object variable not set error" ?

I would like the idea of a commit/rollback in script. Seeing as document models can take any shape, something like a "Transaction Start" and a "Transaction Commit" commands in your code would be great.

I suppose the caveat would be that transaction command pairs (ie start/commit) would have to be in the same sub. I think this would only work in a scheduled agent to. Because re-running the log would be way to hard from UI. The next step would be working out how to link transaction dependancies between subs so if an error occured in a called sub that the rollback would be reported to the calling sub so it could take action in completing the roll-back...

The other problem would be storing the log somewhere in cases where people are modifying very large collections of documents, the log would be humungous. Probably from a transaction server/file store ?

Not so simple.. but if it could be done, it would put all those relational zealots in their place.. LOL.. Thumbs up from me... I wish people who demote ideas justified their answer. It may provide some insight in refining the idea...












Watch Our Videos




IdeaJam can be easily installed, setup and customized by your company.

Learn more >

Introducing IdeaJam


IdeaJam is a place where people can post and share their ideas, and gauge the marketability, popularity and viability with input from others.

When an idea gets posted, others can help promote or demote the idea and provide comments. Popular ideas will bubble to the top.

Make your opinion count.


-48
Open Source the Domino Product Line
38
Make an SMTP/POP3 only version of the mail client part of Symphony
22
Specific template for mail-in databases (TeamMailbox from OpenNTF ?)
13
Replication - Deafult Replication Server Issue
29
Make tasks alphabetical on the server console when issuing "Show tasks"
-4
Prevent unauthorized document creation
9
Improve discoverability of old ideas via a "suggest" feature based on user voting behavior
0
Continue statement in LotusScript
-7
Configure the applications to open an attachment
17
Add more options to event trigger notifications
6
Make calendar invites more obvious in the inbox
4
Domino Search as Google Search
13
Less cryptic errormessages
10
Add "merge across" function for tables
9
A "component"-wise extendable / partly enrich-/replaceable, and skinnable Notes client
-3
Referenced Design Inheretence
12
Sametime widget that provides Facebook-like status tracking
12
To separate To Do
6
Installation of sametime on linux with symbolic links to the linux/latest directory
12
Allow pasting in dialog-list fields
9
Automatic creation of archive DB when registering (a) new user(s)
8
Make Truncated documents more obvious
15
Resources reservations : add refreshments (coffee,...) when you book a meeting room
18
Use different color on private calendar entries
19
Out of office (no end date for long absence)
8
Improve paragraph styles
11
Mark proposed new date/time in calendar when countering meeting invites
18
Default Design/Replace to last used server
7
64 bit memory support for Linux x64 distros
12
User friendly version of Domino directory

IdeaJam is hosted by