Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1179

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1179
    Summary: create duplicate spring bean id.
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             Spring Module

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: huiqiang guo

    Created: Mon, 6 Dec 2004 4:44 AM
    Updated: Mon, 6 Dec 2004 4:44 AM
Environment: windows jdk1.4.2

Description:
/**
 * @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>




---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to