Wondering if there is a way this can be accomplished with an existing config mechanism, or a adjustment of the dbre command...
Lets say I have an Employee table in our database, and using our naming conventions for column names we have the following columns...
- EmployeeID
- EmployeeFirstName
- EmployeeLastName
By default, when i dbre this table, it will give me the following attributes of the entity...
- employeeId
- employeeFirstName
- employeeLastName
So by default when i want to grab the employee id i have to reference it as employee.employeeId, and so on for the other attributes.
Preferably, I would like to be able to use employee.id instead.
Is there a way to have the dbre generate the following attribute names, without changing the column names in the table?
- id
- firstName
- lastName
Thanks,


Reply With Quote
