-
Nov 20th, 2012, 04:28 AM
#1
Roo uses reserved word as variable name
I reverse engineered a schema from a H2 File databse. One of the entities is called Assert,and roo generates the following code, using the reserved word "assert" as a variable name. (in file ApplicationConversionServiceFactoryBean_Roo_Conver sionService.aj)
public Converter<Assert, String> ApplicationConversionServiceFactoryBean.getAssertT oStringConverter() {
return new org.springframework.core.convert.converter.Convert er<aesm.Assert, java.lang.String>() {
public String convert(Assert assert) {
return new StringBuilder().append(assert.getDescription()).ap pend(' ').append(assert.getIssuedon()).append(' ').append(assert.getRawassert()).append(' ').append(assert.getAbstractproperty()).toString() ;
}
};
}
I can execute the code by hand-editing the aj file, but it is replaced next time i run roo. When can I do for this.
Roo version: 1.2.2.RELEASE [rev 7d75659]
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules