The bean/persistence type isn't defined in jboss.xml.  Instead, it's in the 
ejb-jar.xml file:

<ejb-jar>
        <enterprise-beans>
                
                        <ejb-name>...</ejb-name>
                        <local-home>...</local-home>
                        ...
                        <ejb-class>...</ejb-class>
                        <persistence-type>Container</persistence-type>
                        <prim-key-class>...</prim-key-class>
                        <primkey-field>...</primkey-field>
                        false
                        <cmp-version>2.x</cmp-version>
                                ...
                
                ...
            </enterprise-beans>
</ejb-jar>
 
Would give you a CMP 2.x bean.

-Chris

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862659#3862659

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862659


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to