[ 
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1179?page=comments#action_17326
 ] 

Darryl L. Pierce commented on XDT-1179:
---------------------------------------

Is there any chance of this bug actually being addressed?

> create duplicate spring bean id.
> --------------------------------
>
>          Key: XDT-1179
>          URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1179
>      Project: XDoclet
>         Type: Bug
>   Components: Spring Module
>  Environment: windows jdk1.4.2
>     Reporter: huiqiang guo
>     Assignee: xdoclet-devel (Use for new issues)

>
>
> /**
>  * @spring.bean 
>  *    id = "baseDao"
>  * @spring.property
>  *    name = "sessionFactory"
>  *    ref = "sessionFactory"
>  *
>  */
> public  class BaseDaoHibernateImpl 
> extends HibernateDaoSupport implements BaseDao {
> /**
>  * @spring.bean 
>  *    id = "equipmentDao"
>  *
>  */
> public class EquipmentDaoHibernateImpl extends BaseDaoHibernateImpl 
> implements EquipmentDao {
> in springdoclet will generate these bean ids:
>   <bean
>       id="equipmentDao"
>       class="com.xxx.dao.spring.hibernate.EquipmentDaoHibernateImpl"
>   >
>     <property name="sessionFactory">
>       <ref bean="sessionFactory"/>
>     </property>
>   </bean>
>   <bean
>       id="baseDao"
>       class="com.xxx.dao.spring.hibernate.EquipmentDaoHibernateImpl"
>   >
>     <property name="sessionFactory">
>       <ref bean="sessionFactory"/>
>     </property>
>   </bean>
>   <bean
>       id="baseDao"
>       class="com.xxx.dao.spring.hibernate.BaseDaoHibernateImpl"
>   >
>     <property name="sessionFactory">
>       <ref bean="sessionFactory"/>
>     </property>
>   </bean>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to