User: vharcq
Date: 02/03/14 11:55:29
Added: core/test/xml-ref/InheritedCMP ejb-jar.xml jaws.xml
jbosscmp-jdbc.xml weblogic-cmp-rdbms-jar.xml
Log:
Bug 519011 : a ejb:finder with inherited Home should only be defined in the
SuperClass Home not in the subclass else WL ejbc will go mad
Revision Changes Path
1.1 xdoclet/core/test/xml-ref/InheritedCMP/ejb-jar.xml
Index: ejb-jar.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar id="ejb-jar_2">
<description>No Description.</description>
<display-name>Generated by XDoclet</display-name>
<enterprise-beans>
<!-- Session Beans -->
<!--
To add session beans that you have deployment descriptor info for, add
a file to your merge directory called session-beans.xml that contains
the <session></session> markup for those beans.
-->
<!-- Entity Beans -->
<entity id="ContainerManagedEntity_3">
<description><![CDATA[No Description.]]></description>
<ejb-name>inherited/cmp/InheritedCMPSub</ejb-name>
<home>xdoclet.retest.bean.ejb.interfaces.InheritedCMPSubHome</home>
<remote>xdoclet.retest.bean.ejb.interfaces.InheritedCMPSub</remote>
<local-home>xdoclet.retest.bean.ejb.interfaces.InheritedCMPSubLocalHome</local-home>
<local>xdoclet.retest.bean.ejb.interfaces.InheritedCMPSubLocal</local>
<ejb-class>xdoclet.retest.bean.ejb.ejb.InheritedCMPSubCMP</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>xdoclet.retest.bean.ejb.interfaces.InheritedCMPSubPK</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>inherited/cmp/InheritedCMPSub</abstract-schema-name>
</entity>
<entity id="ContainerManagedEntity_4">
<description><![CDATA[No Description.]]></description>
<ejb-name>inherited/cmp/InheritedCMPSuper</ejb-name>
<home>xdoclet.retest.bean.ejb.interfaces.InheritedCMPSuperHome</home>
<remote>xdoclet.retest.bean.ejb.interfaces.InheritedCMPSuper</remote>
<local-home>xdoclet.retest.bean.ejb.interfaces.InheritedCMPSuperLocalHome</local-home>
<local>xdoclet.retest.bean.ejb.interfaces.InheritedCMPSuperLocal</local>
<ejb-class>xdoclet.retest.bean.ejb.ejb.InheritedCMPSuperCMP</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>xdoclet.retest.bean.ejb.interfaces.InheritedCMPSuperPK</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>inherited/cmp/InheritedCMPSuper</abstract-schema-name>
</entity>
<!--
To add entity beans that you have deployment descriptor info for, add
a file to your merge directory called entity-beans.xml that contains
the <entity></entity> markup for those beans.
-->
<!-- Message Driven Beans -->
<!--
To add message driven beans that you have deployment descriptor info for, add
a file to your merge directory called message-driven-beans.xml that contains
the <message-driven></message-driven> markup for those beans.
-->
</enterprise-beans>
<!-- Relationships -->
<!-- Assembly Descriptor -->
<assembly-descriptor id="AssemblyDescriptor_2">
<!-- finder permissions -->
<!-- finder permissions -->
<!-- transactions -->
<!-- finder transactions -->
</assembly-descriptor>
</ejb-jar>
1.1 xdoclet/core/test/xml-ref/InheritedCMP/jaws.xml
Index: jaws.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jaws PUBLIC "-//JBoss//DTD JAWS 3.0//EN"
"http://www.jboss.org/j2ee/dtd/jaws_3_0.dtd">
<jaws>
<datasource>java:/DefaultDS</datasource>
<type-mapping>Hypersonic SQL</type-mapping>
<enterprise-beans>
<entity>
<ejb-name>inherited/cmp/InheritedCMPSub</ejb-name>
<row-locking></row-locking>
</entity>
<entity>
<ejb-name>inherited/cmp/InheritedCMPSuper</ejb-name>
<row-locking></row-locking>
</entity>
</enterprise-beans>
</jaws>
1.1 xdoclet/core/test/xml-ref/InheritedCMP/jbosscmp-jdbc.xml
Index: jbosscmp-jdbc.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN"
"http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd">
<jbosscmp-jdbc>
<defaults>
<datasource>java:/DefaultDS</datasource>
<datasource-mapping>Hypersonic SQL</datasource-mapping>
</defaults>
<enterprise-beans>
<entity>
<ejb-name>inherited/cmp/InheritedCMPSub</ejb-name>
<!--
To define load groups for this entity, write a file named
jbosscmp-jdbc-load-InheritedCMPSubBean.xml and put it in
your mergedir. Write it according to the following DTD slice:
<!ELEMENT load-groups (load-group+)>
<!ELEMENT load-group (load-group-name, description?, field-name+)>
<!ELEMENT load-group-name (#PCDATA)>
<!ELEMENT description (#PCDATA)>
<!ELEMENT field-name (#PCDATA)>
<!ELEMENT eager-load-group (#PCDATA)>
<!ELEMENT lazy-load-groups (load-group-name+)>
-->
</entity>
<entity>
<ejb-name>inherited/cmp/InheritedCMPSuper</ejb-name>
<!--
To define load groups for this entity, write a file named
jbosscmp-jdbc-load-InheritedCMPSuperBean.xml and put it in
your mergedir. Write it according to the following DTD slice:
<!ELEMENT load-groups (load-group+)>
<!ELEMENT load-group (load-group-name, description?, field-name+)>
<!ELEMENT load-group-name (#PCDATA)>
<!ELEMENT description (#PCDATA)>
<!ELEMENT field-name (#PCDATA)>
<!ELEMENT eager-load-group (#PCDATA)>
<!ELEMENT lazy-load-groups (load-group-name+)>
-->
</entity>
</enterprise-beans>
</jbosscmp-jdbc>
1.1
xdoclet/core/test/xml-ref/InheritedCMP/weblogic-cmp-rdbms-jar.xml
Index: weblogic-cmp-rdbms-jar.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-rdbms-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB
RDBMS Persistence//EN"
"http://www.bea.com/servers/wls600/dtd/weblogic-rdbms20-persistence-600.dtd">
<weblogic-rdbms-jar>
<weblogic-rdbms-bean>
<ejb-name>inherited/cmp/InheritedCMPSub</ejb-name>
<data-source-name>xdoclet.tests</data-source-name>
<table-name></table-name>
<weblogic-query>
<query-method>
<method-name>findByClassic</method-name>
<method-params>
</method-params>
</query-method>
</weblogic-query>
</weblogic-rdbms-bean>
<weblogic-rdbms-bean>
<ejb-name>inherited/cmp/InheritedCMPSuper</ejb-name>
<data-source-name>xdoclet.tests</data-source-name>
<table-name></table-name>
<weblogic-query>
<query-method>
<method-name>findByClassic</method-name>
<method-params>
</method-params>
</query-method>
</weblogic-query>
</weblogic-rdbms-bean>
<create-default-dbms-tables>False</create-default-dbms-tables>
</weblogic-rdbms-jar>
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel