Affects Version/s: Master
Component/s: Core Infrastructure > Service Builder
Steps to reproduce:
- Follow the steps to create a new model entity with service builder
- In the service.xml, add at least one column with a db-name argument, to force the db name to be different from the entity field name in the code. Use a valid column name.
- Run buildService with the latest service builder plugin
- Open the <EntityName>PersistenceImpl.java autogenerated class and scroll down to the bottom to find the _badColumnNames variable
Expected behaviour: the _badColumnNames variable contains only actual bad column names, defined in the bad_column_names.txt file of the Service Builder (e.g. uuid)
Current behaviour: the _badColumnNames contains the name of the column with the db-name attribute, even though it is correct.
This issue causes the autogenerated <EntityName>PersistenceImplTest.findAll tests fail.