Skip to content

Commit

Permalink
0001651: MySQL and SQL-Server bulk loaders handle BLOBs between diffe…
Browse files Browse the repository at this point in the history
…rent platforms - add unit tests
  • Loading branch information
erilong committed Mar 26, 2014
1 parent b2c59d6 commit fb72fcb
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions symmetric-client/src/test/resources/testBulkWriter.xml
@@ -0,0 +1,64 @@
<?xml version="1.0"?>
<!--
Licensed to JumpMind Inc under one or more contributor
license agreements. See the NOTICE file distributed
with this work for additional information regarding
copyright ownership. JumpMind Inc licenses this file
to you under the GNU General Public License, version 3.0 (GPLv3)
(the "License"); you may not use this file except in compliance
with the License.
You should have received a copy of the GNU General Public License,
version 3.0 (GPLv3) along with this library; if not, see
<http://www.gnu.org/licenses/>.
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.
-->
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database.dtd">

<database name="databasewritertest">

<table name="test_bulkload_table_1">
<column name="id" type="INTEGER" required="true" autoIncrement="true"
primaryKey="true" />
<column name="string_value" type="VARCHAR" size="50" />
<column name="string_required_value" type="VARCHAR" size="50"
required="true" />
<column name="char_value" type="CHAR" size="50" />
<column name="char_required_value" type="CHAR" size="50"
required="true" />
<column name="date_value" type="DATE" />
<column name="time_value" type="TIMESTAMP" />
<column name="boolean_value" type="BIT" size="1" />
<column name="integer_value" type="INTEGER" />
<column name="decimal_value" type="DECIMAL" size="10,2" />
<column name="double_value" type="DOUBLE" />
</table>

<table name="test_bulkload_table_2">
<column name="id" type="INTEGER" required="true" autoIncrement="true"
primaryKey="true" />
<column name="string_value" type="VARCHAR" size="50" />
<column name="string_required_value" type="VARCHAR" size="50"
required="true" />
<column name="char_value" type="CHAR" size="50" />
<column name="char_required_value" type="CHAR" size="50"
required="true" />
<column name="date_value" type="DATE" />
<column name="time_value" type="TIMESTAMP" />
<column name="boolean_value" type="BIT" size="1" />
<column name="integer_value" type="INTEGER" />
<column name="decimal_value" type="DECIMAL" size="10,2" />
<column name="double_value" type="DOUBLE" />
<column name="img_value" type="BLOB" />
</table>


</database>

0 comments on commit fb72fcb

Please sign in to comment.