Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Mapping Drivers
-
Security Level: All
-
Labels:None
Description
Unfortunately DatabaseDriver::getClassNameForTable() is declared as private method, which makes it quite difficult to change the naming strategy for reverse engeneering.
IMO this sould be declared protected. An even better way would be to extend the interface of the Naming Strategy objects to support the reverse direction:
classToTableName -> tableToClassName
propertyToColumnName -> columnToPropertyName.
This way we would have a consistent name-mapping