[ http://jira.andromda.org/browse/SPRING-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16175#action_16175 ]
Vladimir Zavati commented on SPRING-213: ---------------------------------------- I changed this: --- #if ($entity.generalization) #set ($superclass = $entity.generalization) #set ($daoInheritance = $superclass && $daoInheritanceEnabled) #if ($daoInheritance) #set ($rootEntityType = $entity.root.fullyQualifiedEntityName) #else #set ($rootEntityType = $entity.fullyQualifiedEntityName) #end #else #set ($daoInheritance = false) #set ($rootEntityType = $entity.fullyQualifiedEntityName) #end --- TO this --- #set ($superclass = $entity.generalization) #set ($daoInheritance = $superclass && $daoInheritanceEnabled) #if ($daoInheritance) #set ($rootEntityType = $entity.root.fullyQualifiedEntityName) #else #set ($rootEntityType = $entity.fullyQualifiedEntityName) #end --- and with <property name="daoInheritanceEnabled">true</property> the same result: "extends HibernateDaoSupport" my subclass does not extend my superclass daobase. Maybe in other files I must make some changes, I hope somebody will look here also on this problem and help a little. I wish you all a good day ! > inheritance > ------------ > > Key: SPRING-213 > URL: http://jira.andromda.org/browse/SPRING-213 > Project: Spring Cartridge > Issue Type: Bug > Affects Versions: 3.4 > Environment: Mac OS > Reporter: Vladimir Zavati > Assignee: Chad Brandon > Attachments: andromda.xml > > > daoInheritanceEnabled i think that this is not respected even I set this > explicitly to true. > I described my problem here > http://forum.andromda.org/viewtopic.php?f=2&t=6688&p=28510#p28510 > The problem is that I can't have access in subclasses that extend a > superclass to dao's from superclass. > Thanks. > I attached my andromda.xml file below. -- 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 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev