[
http://jira.andromda.org/browse/SPRING-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16176#action_16176
]
Plushnikov Michail commented on SPRING-213:
-------------------------------------------
Hmhhh...
There is a condition in cartridge.xml
<condition name="daoInheritanceEnabled">
#if ($daoInheritanceEnabled.equalsIgnoreCase("true") &&
!$enableTemplating.equalsIgnoreCase("true"))true#end
</condition>
This condition rewrite the daoInheritanceEnabled property and set it to false
if enableTemplating is true.
You have to set this property to false, to get daoInheritanceEnabled working:
<property name="enableTemplating">false</property>
<property name="daoInheritanceEnabled">true</property>
I'm not sure, why we have this condition. I think there are issues with generic
return types if both properties are enabled. I will check this later.
> 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