Bug in generated getKeyConditions( Data masterData )
Brought to you by:
taweili
The generated version of getKeyConditions( Data masterData ) does not always compile. The problem is that it may invoke a getter with an incorrect name. The getters are generated with a name from Output.capIt, but the generated code for getKeyConditions is not using capIt. If the column name is not capitalized (e.g., itemID), then the getter is named getItemID but getKeyConditions calls getitemID. This can be fixed by changing line 1584 in DbGen.java to be "... Output.capIt(mk.getName()) ...".