Uploaded image for project: 'DdlUtils'
  1. DdlUtils
  2. DDLUTILS-101

Support the dumping of data from a database into an XML file for each table.


    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: Ant Tasks
    • Labels:
    • Environment:
      Java 1.5.0_06
      Oracle 10g EE


      We're using DDLUtils to store the schema and setup data required for our application. We can version the XML files and see diffs of the schema and data after dumping a modified database. This is a great feature.

      However the single XML file containing all the setup data from our ~25 tables grew to over 3 MB in size and was unwieldy to work with. In particular, a simple "select * from table" was used to dump the data. This would result in spurious diffs where the file contents didn't change between dumps but the lines were moved around making a diff unreadable.

      So it would be great if the Ant tasks supported dumping a database to a directory with one XML for each tables data. Also, the dump should be ordered by the tables primary keys so that it is possible to easily compare with older versions and see new rows, deleted rows, and changed fields.




            • Assignee:
              tomdz Thomas Dudziak
              guy_davis Guy Davis
            • Votes:
              1 Vote for this issue
              1 Start watching this issue


              • Created: