Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
0000869: dbexport to csv needs to either prevent or support multiple …
…table export
- Loading branch information
Showing
14 changed files
with
553 additions
and
279 deletions.
There are no files selected for viewing
444 changes: 291 additions & 153 deletions
444
symmetric-client/src/main/java/org/jumpmind/symmetric/DbExport.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
symmetric-client/src/test/resources/test-dbexportimport-3-tables.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0"?> | ||
<database name="testdb"> | ||
<table name="a"> | ||
<column name="id" type="INTEGER" required="true" primaryKey="true" /> | ||
<column name="string_value" type="VARCHAR" size="50" /> | ||
</table> | ||
<table_data name="a"> | ||
<row> | ||
<field name="id">1</field> | ||
<field name="string_value">This is a test of a</field> | ||
</row> | ||
<row> | ||
<field name="id">2</field> | ||
<field name="string_value">This is a test of a</field> | ||
</row> | ||
</table_data> | ||
<table name="b"> | ||
<column name="id" type="INTEGER" required="true" primaryKey="true" /> | ||
<column name="string_value" type="VARCHAR" size="50" /> | ||
</table> | ||
<table_data name="b"> | ||
<row> | ||
<field name="id">1</field> | ||
<field name="string_value">This is a test of b</field> | ||
</row> | ||
<row> | ||
<field name="id">2</field> | ||
<field name="string_value">This is a test of b</field> | ||
</row> | ||
<row> | ||
<field name="id">3</field> | ||
<field name="string_value">This is line 3 of b</field> | ||
</row> | ||
</table_data> | ||
<table name="c"> | ||
<column name="id" type="INTEGER" required="true" primaryKey="true" /> | ||
<column name="string_value" type="VARCHAR" size="50" /> | ||
</table> | ||
<table_data name="c"> | ||
<row> | ||
<field name="id">1</field> | ||
<field name="string_value">This is a test of c</field> | ||
</row> | ||
<row> | ||
<field name="id">2</field> | ||
<field name="string_value">This is a test of c</field> | ||
</row> | ||
</table_data> | ||
</database> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.