Description should be entered manually is stated in the tableIndex.xml file:
1.0SJSYSADMOracle
AFDtable1**Description should be entered manually**NAVNELBNRc1DECIMAL(12)NUMBER(12,0)falseDescription should be set
[dbptk-app.log.txt](https://github.com/keeps/db-preservation-toolkit/files/879492/dbptk-app.log.txt)
May be related to #174 if the description is not being fetched from Oracle.
Or it may be a problem in SIARD-DK module if the placeholder text "Description should be entered manually" is being added even when the actual description exists.
@PrismaHans The problem is related to #174 since the descriptive metadata is not being fetched from Oracle. In the SIARDDK export module, the descriptive metadata is being set if it is available from the TableStructure object here
@PrismaHans From #174, I don't think that there is a specific query in the code to retrieve this information.
Most database metadata is retrieved in a generic way using JDBC, but some database systems require specific adjustments to retrieve certain fields (this is the case for most descriptions); since the descriptions are currently not being fetched, I'm assuming that there isn't yet (implemented in the code) a specific query to do this.
Description: Comments not included in siard-dk export from Oracle
Steps required to reproduce the bug:
Attach the dbptk-app.log.txt file below.
My tableIndex.xml file got lost I will upload it here tableIndex.zip
May be related to #174 if the description is not being fetched from Oracle.
Or it may be a problem in SIARD-DK module if the placeholder text "Description should be entered manually" is being added even when the actual description exists.
Could you please point out where in the code the query is being generated towards Oracle. Then I could emulate from some other source.
@PrismaHans The problem is related to #174 since the descriptive metadata is not being fetched from Oracle. In the SIARDDK export module, the descriptive metadata is being set if it is available from the TableStructure object here
@andreaskring I meant where in the code is the query towards Oracle generated?
@PrismaHans From #174, I don't think that there is a specific query in the code to retrieve this information.
Most database metadata is retrieved in a generic way using JDBC, but some database systems require specific adjustments to retrieve certain fields (this is the case for most descriptions); since the descriptions are currently not being fetched, I'm assuming that there isn't yet (implemented in the code) a specific query to do this.