arx-deidentifier/arx

Postgres schema support

ashishkumarazuga opened this issue · 2 comments

problem statement
The current postgres connector can not import data from a table which is under a schema. The tables are listed but can not be imported.

Describe the solution you'd like
An extra field in the server JDBC configuration defining the schema name could help setting the schema context and fetching the data.

Describe alternatives you've considered
Alternative could be a dynamic feature where it can read data from all schemas.

@prasser I think the current implementation do have support, but it is hindered by a bug.

Shouldn't this be TABLE_SCHEMA instead of TABLE_SCHEM?

String schema = rs.getString("TABLE_SCHEM"); //$NON-NLS-1$

Thanks for taking such a close look! TABLE_SCHEM is correct and not a bug. There may be a bug, but if there is one, it is somewhere else.