The bug was raised from a very deep underlying issue of wrong metadata db entities, a summary:
- Since the implementation favors the .sql over the entities this is not a bug in production
- The entities however are wrongly configured, it starts with the
ColumnConcept.java
as join-table ofTableColumn.java
andConcept.java
(fixed) - The entities also cannot propagate the children since they depend on a primary key from the parent (not fixed)
- The QueryMapper.java class does therefore not receive columns in all cases (fixed)
- I added a ColumnParseException.java to reflect a custom exception and catch the vendor exception (fixed)
- There is still a lot to do with documentation of the interfaces, they miss a lot of @throws and description (not fixed)
- The unit tests need a specific order in which the entities are inserted into the H2 database (that mocks the metadata database) to work properly since the entities are flawed (fixed in 2 cases)
Closes #135