Nikita Timofeev created CAY-2544:
------------------------------------

             Summary: Possible name clash of ivar and property name in 
generated class
                 Key: CAY-2544
                 URL: https://issues.apache.org/jira/browse/CAY-2544
             Project: Cayenne
          Issue Type: Bug
          Components: cgen
    Affects Versions: 4.1.M2, 4.2.M1
            Reporter: Nikita Timofeev
             Fix For: 4.1.M3, 4.2.M1


We generate same name for ivar and property if attribute name is all upper-case 
letters.
Generated code looks like this:
{code}
public static final Property<String> URL = Property.create("URL", String.class);

protected String URL;
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to