Location: PHPKode > projects > deltasql > deltasql-1.0.8/tablesync/tablesync.xml
<tablesync>
	<table>
		<name>tbuser</name>
		<column type="int">id</column>
		<column type="string">username</column>
		<column type="string">firstname</column>
		<column type="string">lastname</column>
	    <column type="int">nblogins</column>
	    <column type="boolean">deleted</column>
	    <column type="date">update_dt</column>
		<primary_key name="id">
			<primary_key_sql_statement dbtype="oracle">tbuser_seq.nextval</primary_key_sql_statement>
		</primary_key>
		<identifier>username</identifier>
		<sync_column>update_dt</sync_column>
	</table>
	<table>
		<name>tbchatentry</name>
		<column type="int">id</column>
		<column type="string">chatentry</column>
		<column type="date">update_dt</column>
		<column type="int">user_id</column>
		<primary_key name="id">
			<primary_key_sql_statement dbtype="oracle">tbchatentry_seq.nextval</primary_key_sql_statement>
		</primary_key>
		<identifier>chatentry</identifier>
		<foreign_key target="tbuser">user_id</foreign_key>
		<sync_column>update_dt</sync_column>
	</table>
	<connection>
		<name>oracle_prod</name>
		<dbtype>oracle</dbtype>
		<jdbc_url>jdbc:oracle:thin:@192.168.1.1:1521:DELTADB</jdbc_url>
		<username>urku</username>
		<password>log4urku</password>
	</connection>
	<connection>
		<name>mssql_interface</name>
		<dbtype>ms_sql_server</dbtype>
		<jdbc_url>jdbc:sqlserver://192.168.1.100:1433;databaseName=datasqlms</jdbc_url>
		<username>cels</username>
		<password>log4cels</password>
	</connection>
	<syncjob>
	    <name>sync_1</name>
		<from>oracle_prod</from>
		<to>mssql_interface</to>
	</syncjob>
	<syncjob>
	    <name>sync_2</name>
		<from>mssql_interface</from>
		<to>oracle_prod</to>
	</syncjob>
	<settings>
		<sync_type>NORMAL_SYNC</sync_type>
		<initial_sync_date>23.10.2008 14:00:00 +0200</initial_sync_date>
		<sync_interval_in_seconds>60</sync_interval_in_seconds>
	</settings>
</tablesync>
Return current item: deltasql