It seems that when the JPA rev engy process creates the POJO classes, it creates the member variables – that reference other reverse engy objects with UPPER case names.
Example:
Tables: Group, Person, Address
1toN Person in Group and 1toN Address in Person…
Address contains a Person member variable, but the problem is…
private Person Person;
This goes against convention. While thinking about changing it (manually), I have to change the setter classes to match that as well, and that’s a heck of a lot of work across a database with lots of tables.
The sad/funny thing is, when I went to change the member variable back to “Person” from “person”, I get the following message:
“The field name is discouraged. According to convetion, field names shold start with lowercase letters”…apparently JPA rev engy ignores this “convention”?
Can you guys fix this???