[ http://jira.andromda.org/browse/SPRING-197?page=all ]
Jens Vagts reassigned SPRING-197: --------------------------------- Assign To: Jens Vagts (was: Chad Brandon) > DaoBase does not compile when property enableTemplating=true > ------------------------------------------------------------ > > Key: SPRING-197 > URL: http://jira.andromda.org/browse/SPRING-197 > Project: Spring Cartridge > Type: Bug > Versions: 3.2 > Environment: MagicDraw 12.1 > Reporter: Matthias Bohlen > Assignee: Jens Vagts > > When entity AudioRecord specializes entity Title, the generated > AudioRecordDaoBase class does not compile when Java 5 generics are switched > on (namespace property enableTemplating=true in the default namespace). The > compiler gives several error messages, one of them is this: > Name clash: The method create(Collection<AudioRecord>) of type > AudioRecordDaoBase has the same erasure as create(Collection<Title>) of type > TitleDaoBase but does not override it > Maybe, the correct way would be to generate "TitleDaoBase.create(Collection<? > extends Title>)", instead? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/