dbptk-developer
dbptk-developer copied to clipboard
Comments not included in Siard-dk (from Oracle)
Description: Comments not included in siard-dk export from Oracle
Steps required to reproduce the bug:
- Add comment to table COMMENT ON TABLE SJSYSADM.AFD IS 'Test';
- Run command to export java "-Dfile.encoding=UTF-8" -jar dbptk-app-2.0.0-beta7.2.jar --import oracle --import-server-name=127.0.0.1 --import-database="xe" --import-username=sjsysadm --import-password="" --import-accept-license --import-port-number=1521 --export siard-dk --export-folder=AVID.AA.10.10 -etf exp.txt
- Description should be entered manually is stated in the tableIndex.xml file:
<siardDiark xmlns="http://www.sa.dk/xmlns/diark/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sa.dk/xmlns/diark/1.0 ../Schemas/standard/tableIndex.xsd">
1.0 <dbName>SJSYSADM</dbName> <databaseProduct>Oracle</databaseProduct>AFD table1 Description should be entered manually NAVNELBNR <columnID>c1</columnID>DECIMAL(12) <typeOriginal>NUMBER(12,0)</typeOriginal>false Description should be set Attach the dbptk-app.log.txt file below.