Discussion:
[lsc-changes] [Ldap Synchronization...] page changed: documentation:2.0:configuration:service:sourcesql
webmaster
2013-05-15 13:06:21 UTC
Permalink
A page in your DokuWiki was added or changed. Here are the details:

Date : 2013/05/15 15:06
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
IP-Address : 195.68.92.104
Hostname : host.104.92.68.195.rev.coltfrance.com
Old Revision: http://lsc-project.org/wiki/documentation/2.0/configuration/service/sourcesql?rev=1335198082
New Revision: http://lsc-project.org/wiki/documentation/2.0/configuration/service/sourcesql
Edit Summary:
User : sbahloul

@@ -13,10 +13,10 @@
<name>MySyncTask-src</name>
<connection reference="jdbc-src-conn"/>
<requestNameForList>getInetOrgPersonList</requestNameForList>
<requestNameForObject>getInetOrgPerson</requestNameForObject>
+ <requestNameForNextId>getNextInetOrgPersonId</requestNameForNextId>
<requestNameForClean>getInetOrgPersonClean</requestNameForClean>
- <requestNameForNextId>getNextId</requestNameForNextId>
</databaseSourceService>
</task>
</tasks>
</lsc>
@@ -26,12 +26,12 @@
* **name**: mandatory, it should contain any value that will uniquely identify this service regarding a task
* **connection**: this node should not contain any element, just a "reference" attribute which is used to look for the corresponding connection with this name (as sub-element of the connection element)
* **requestNameForList**: node providing the SQL request name to list available objects in the data source (used through iBatis)
* **requestNameForObject**: node providing the SQL request name to get the full object according to the datasets identifying it uniquely
- * **requestNameForClean**: node providing the SQL request name to get the full object for clean phase according to the datasets identifying it uniquely
* **requestNameForNextId**: this node may be provided to enable a asynchronous mode of the datasource. If provided, this request will be called to get the next updated id. This request may return nothing and LSC will wait until the next modification or its own stop
+ * **requestNameForClean**: node providing the SQL request name to get the full object for clean phase according to the datasets identifying it uniquely

Some of these parameters are mandatory depending on the corresponding synchronization mode:
* in the synchronous mode: requestNameForList and requestNameForObject should be provided. requestNameForNextId is ignored.
* in the asynchronous mode: requestNameForNextId is mandatory whereas requestNameForList and requestNameForObject are ignored.

See then how configure [[..:database:persistence]] with iBatis.
--
This mail was generated by DokuWiki at
http://lsc-project.org/wiki/
Loading...