diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-02 22:23:40 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-02 22:23:40 +0000 |
commit | ad0e368eeedb0454e1dd398bd84c23cbfbd692f8 (patch) | |
tree | 38aaf22c3b98c06091dcef76ce353d2f25cde91f /tags/java/das/1.0-incubating-beta2/rdb/src/test/resources/namedParameter.xml | |
parent | d7626a5e989f7cb90d0a50bbfd71aab63d42523d (diff) |
Moving das tags
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@832150 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tags/java/das/1.0-incubating-beta2/rdb/src/test/resources/namedParameter.xml')
-rw-r--r-- | tags/java/das/1.0-incubating-beta2/rdb/src/test/resources/namedParameter.xml | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/tags/java/das/1.0-incubating-beta2/rdb/src/test/resources/namedParameter.xml b/tags/java/das/1.0-incubating-beta2/rdb/src/test/resources/namedParameter.xml deleted file mode 100644 index d0b0811e33..0000000000 --- a/tags/java/das/1.0-incubating-beta2/rdb/src/test/resources/namedParameter.xml +++ /dev/null @@ -1,73 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - --> -<Config xmlns="http:///org.apache.tuscany.das.rdb/config.xsd"> - - <Table tableName="CUSTOMER"> - <create sql="insert into customer values (?, ?, ?)" > - <Parameters> - <Parameter name="ID" index="1"/> - <Parameter name="LASTNAME" index="1"/> - <Parameter name="ADDRESS" index="3"/> - </Parameters> - </create> - - <update sql="update customer set lastname = ?, address = ? where ID = ?" > - <Parameters> - <Parameter name="LASTNAME" index="1"/> - <Parameter name="ADDRESS" index="2"/> - <Parameter name="ID" index="5"/> - </Parameters> - </update> - - <delete sql="delete from customer where ID = ? and LASTNAME = ?"> - <Parameters> - <Parameter name="LASTNAME" columnType="commonj.sdo.String" index="2"/> - <Parameter name="ID" columnType="commonj.sdo.IntObject" index="1"/> - </Parameters> - </delete> - </Table> - - <Command name="getCustomer" SQL="Select * from CUSTOMER where ID = ?" kind="Select"> - <Parameter name="ID" index="1"/> - </Command> - - <Command name="createCustomer" SQL="insert into CUSTOMER values ( ?, ?, ?)" kind="Insert"> - <Parameter name="ID" index="1"/> - <Parameter name="LASTNAME" index="2"/> - <Parameter name="ADDRESS" index="3"/> - </Command> - - <Command name="createCustomerNoParam" SQL="insert into CUSTOMER values ( ?, ?, ?)" kind="Insert"/> - - <Command name="updateCustomer" SQL="update CUSTOMER set LASTNAME = ? where ID = ?" kind="Update"> - <Parameter name="LASTNAME" index="1"/> - <Parameter name="ID" index="2"/> - </Command> - - <Command name="updateCustomerNoParam" SQL="update CUSTOMER set LASTNAME = ? where ID = ?" kind="Update"> - </Command> - - <Command name="deleteCustomer" SQL="delete from CUSTOMER where ID = ?" kind="Delete"> - <Parameter name="ID" index="1"/> - </Command> - - <Command name="deleteCustomerNoParam" SQL="delete from CUSTOMER where ID = ?" kind="Delete"/> - -</Config> |