summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/tags/java-stable-20060304/das/rdb/src/test/resources/basicCustomerMappingWithCUD.xml
blob: 760ce866f7f994860fb9c01cef1aab61b2813e39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="ASCII"?>
<Config xsi:noNamespaceSchemaLocation="http:///org.apache.tuscany.das.rdb/config.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <Table name="CUSTOMER"
	  create="insert into customer values (:ID, :LASTNAME, :ADDRESS)"
	  update="update customer set lastname = :LASTNAME, address = :ADDRESS where ID = :ID"
      delete="delete from customer where ID = :ID">
    <Column name="ID" primaryKey="true"/>
    <Column name="LASTNAME"/>
    <Column name="ADDRESS"/> 
  </Table>
	
</Config>