<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.melissadata.com/index.php?action=history&amp;feed=atom&amp;title=MatchUp_Object%3AIncremental%3ATransaction</id>
	<title>MatchUp Object:Incremental:Transaction - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.melissadata.com/index.php?action=history&amp;feed=atom&amp;title=MatchUp_Object%3AIncremental%3ATransaction"/>
	<link rel="alternate" type="text/html" href="http://wiki.melissadata.com/index.php?title=MatchUp_Object:Incremental:Transaction&amp;action=history"/>
	<updated>2026-06-16T16:07:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://wiki.melissadata.com/index.php?title=MatchUp_Object:Incremental:Transaction&amp;diff=9436&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;{{MatchUpObjectIncrementalNav |FunctionsCollapse= }}  {{CustomTOC}}  These functions enable the Incremental interface to use transactions, processing multiple calls to the [[M...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.melissadata.com/index.php?title=MatchUp_Object:Incremental:Transaction&amp;diff=9436&amp;oldid=prev"/>
		<updated>2015-07-30T20:31:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{MatchUpObjectIncrementalNav |FunctionsCollapse= }}  {{CustomTOC}}  These functions enable the Incremental interface to use transactions, processing multiple calls to the [[M...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{MatchUpObjectIncrementalNav&lt;br /&gt;
|FunctionsCollapse=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{CustomTOC}}&lt;br /&gt;
&lt;br /&gt;
These functions enable the Incremental interface to use transactions, processing multiple calls to the [[MatchUp Object:Incremental:Key File#AddRecord|AddRecord]] function before committing the changes to the key file.&lt;br /&gt;
&lt;br /&gt;
==BeginTransaction==&lt;br /&gt;
This function tells MatchUp Object to wrap subsequent multiple calls to the [[MatchUp Object:Incremental:Key File#AddRecord|AddRecord]] function with a transaction block.&lt;br /&gt;
&lt;br /&gt;
This will greatly speed up processing when adding large numbers of records in the Incremental processor because Records will not be physically written to the Incremental database until the [[#CommitTransaction|CommitTransaction]] function is called. The transaction functions are used in the same way that BEGIN, COMMIT and ROLLBACK are used in SQL.&lt;br /&gt;
&lt;br /&gt;
Even though the keys have not been permanently added, Records will still be matched properly. However, other running processes that may be matching against the same database WILL NOT see these new records until after a call to the [[#CommitTransaction|CommitTransaction]] function. Thus, transaction processing should not be used if multiple threads, processes, users, or machines are accessing the same Incremental database.&lt;br /&gt;
&lt;br /&gt;
This function returns true when transaction processing is successfully initialized.&lt;br /&gt;
&lt;br /&gt;
{{ Object Syntax&lt;br /&gt;
|Syntax=BooleanValue = mdMU-&amp;gt;BeginTransaction()&lt;br /&gt;
|C=BooleanValue = mdMUIncrementalBeginTransaction(mdMU)&lt;br /&gt;
|.Net=BooleanValue = mdMU.BeginTransaction&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==CommitTransaction==&lt;br /&gt;
This function tells MatchUp Object to commit, or add, the previous calls to the [[MatchUp Object:Incremental:Key File#AddRecord|AddRecord]] function to the key file since the [[#BeginTransaction|BeginTransaction]] function was called.&lt;br /&gt;
&lt;br /&gt;
This will greatly speed up processing when adding large numbers of records in the Incremental processor because Records will not be physically written to the Incremental database until this function is called. The transaction functions are used in the same way that BEGIN, COMMIT and ROLLBACK are used in SQL.&lt;br /&gt;
&lt;br /&gt;
Even though the keys have not been permanently added, Records will still be matched properly. However, other running processes that may be matching against the same database WILL NOT see these new records until after the call to this function. Thus, transaction processing should not be used if multiple threads, processes, users, or machines are accessing the same Incremental database.&lt;br /&gt;
&lt;br /&gt;
This function returns true when an existing transaction has successfully completed.&lt;br /&gt;
&lt;br /&gt;
{{ Object Syntax&lt;br /&gt;
|Syntax=BooleanValue = mdMU-&amp;gt;CommitTransaction()&lt;br /&gt;
|C=BooleanValue = mdMUIncrementalCommitTransaction(mdMU)&lt;br /&gt;
|.Net=BooleanValue = mdMU.CommitTransaction&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==RollbackTransaction==&lt;br /&gt;
This function enables you to roll back or erase the previous calls to the [[MatchUp Object:Incremental:Key File#AddRecord|AddRecord]] function from the last call [[#BeginTransaction|BeginTransaction]] function. A boolean value of &amp;#039;&amp;#039;&amp;#039;true&amp;#039;&amp;#039;&amp;#039; is returned if a successful rollback is completed.&lt;br /&gt;
&lt;br /&gt;
Even though this function will ensure that the keys have not been permanently added, Records will still be matched properly. Therefore, other running processes that may be matching against the same database will not see these new records. Thus, transaction processing SHOULD NOT be used if multiple threads/processes/ users/machines are accessing the same Incremental database.&lt;br /&gt;
&lt;br /&gt;
This function may also be used when an error is raised with an input or master database, prompting you to gracefully rollback the key file to the point before the current problematic data was processed.&lt;br /&gt;
&lt;br /&gt;
{{ Object Syntax&lt;br /&gt;
|Syntax=BooleanValue = mdMu-&amp;gt;RollbackTransaction()&lt;br /&gt;
|C=BooleanValue = mdMUIncrementalRollbackTransaction(muMU)&lt;br /&gt;
|.Net=BooleanValue = mdMU.RollbackTransaction&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:MatchUp Object]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>