[CAM-6041] Management Service getTableMetaData and getTableCount cannot be used with a database table prefix Created: 19/May/16  Updated: 19/May/17  Resolved: 04/May/17

Status: Closed
Project: camunda BPM
Component/s: engine
Affects Version/s: None
Fix Version/s: 7.7.0, 7.7.0-alpha2

Type: Bug Report Priority: L3 - Default
Reporter: Sebastian Menski Assignee: Sebastian Menski
Resolution: Fixed Votes: 0
Labels: EasyPick
Remaining Estimate: 0 minutes
Time Spent: Not Specified
Original Estimate: 0 minutes

  • there is a getTableMetaData method which allows to specify the database table prefix
    TableMetaData getTableMetaData(String tableSchema, String tableName);
  • the test cases in ManagementServiceTest#testGetTableMetaData* are adjusted to use the new API to be prefix aware
  • the method ManagementService#getTableCount works with a table prefix configured

In TableDataManager the schema has to added as second parameter

In DbSqlSession#getTableNamesPresent the schema (prefix) as to be added as second parameter instead of concatenated with the table name

Generated at Sun Aug 25 00:37:50 CEST 2019 using JIRA 6.4.6#64021-sha1:33e5b454af4594f54560ac233c30a6e00459507e.