[jboss-user] [EJB 3.0] - Re: Namespace error while deploying EJB3 ear
AmarDhole
do-not-reply at jboss.com
Tue Nov 20 07:00:43 EST 2007
Thanks Wolfgang, now namespace problem is solved..
but I am having one more problem that my entities are not binding
Can we use the 3.0 namspace with 1.1 entities? my ejb-jar.xml look like this
| <?xml version='1.0' encoding='UTF-8'?>
| <!--ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="ejb-jar"-->
| <ejb-jar id="ejb-jar_ID" version="1.1"
| xmlns="http://java.sun.com/xml/ns/javaee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
| <enterprise-beans>
| <entity>
| <ejb-name>AssociationEnt</ejb-name>
| <home>com.martquest.entity.association.AssociationEntHome</home>
| <remote>com.martquest.entity.association.AssociationEntRemote</remote >
| <ejb-class>com.martquest.entity.association.AssociationEntBean</ejb-class>
| <persistence-type>Container</persistence-type>
| <prim-key-class>com.martquest.entity.association.AssociationEntPKey</prim-key-class>
| <reentrant>false</reentrant>
| <cmp-version>1.x</cmp-version>
| <cmp-field id="CMPAttribute_2">
| <field-name>enterpriseid</field-name>
| </cmp-field>
| <cmp-field id="CMPAttribute_3">
| <field-name>name</field-name>
| </cmp-field>
| <cmp-field id="CMPAttribute_4">
| <field-name>description</field-name>
| </cmp-field>
| <cmp-field id="CMPAttribute_5">
| <field-name>type</field-name>
| </cmp-field>
| <cmp-field id="CMPAttribute_6">
| <field-name>parentid</field-name>
| </cmp-field>
| <cmp-field id="CMPAttribute_7">
| <field-name>childid</field-name>
| </cmp-field>
| <cmp-field id="CMPAttribute_8">
| <field-name>modMemberID</field-name>
| </cmp-field>
| <cmp-field id="CMPAttribute_9">
| <field-name>modDateTime</field-name>
| </cmp-field>
| <cmp-field id="CMPAttribute_10">
| <field-name>modVersion</field-name>
| </cmp-field>
| <cmp-field id="CMPAttribute_1">
| <field-name>id</field-name>
| </cmp-field>
| </entity>
| </enterprise-beans>
| <assembly-descriptor id="AssemblyDescriptor_ID">
| <container-transaction id="MethodTransaction_1">
| <method id="MethodElement_1">
| <ejb-name>AssociationEnt</ejb-name>
| <method-intf>Remote</method-intf>
| <method-name>*</method-name>
| </method>
| <trans-attribute>Required</trans-attribute>
| </container-transaction>
| </assembly-descriptor>
| </ejb-jar>
Thanks,
Amar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106330#4106330
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106330
More information about the jboss-user
mailing list