Furer Alexander created OLINGO-1178:
---------------------------------------
Summary: pojogen-maven-plugin generates code that can't be compiled
Key: OLINGO-1178
URL: https://issues.apache.org/jira/browse/OLINGO-1178
Project: Olingo
Issue Type: Bug
Components: odata4-ext
Affects Versions: (Java) V4 4.3.0
Reporter: Furer Alexander
If the `CsdlProperty` name contains hyphen character, for example *my-column*
, the plugin generates corresponding java class attribute with getter and
setter :
{code}
@org.apache.olingo.ext.proxy.api.annotations.Property(name = "my-column"..)
String my-column;
String getMy-column();
void setMy-column(String my-column);
{code}
This code can't be compiled. Please normalize the attribiute name while
processing the template.
Thanks
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)