Hi Andy,

Maybe I'm not reading your message right but if you have relationships in
ejb-jar.xml, you really can't avoid them in jbosscmp-jdbc.xml (So far as I
know, anyway).  You mention you have the relationships defined in
ejb-jar.xml but that'll only take you so far.  You'll have to define
somewhere how JBoss will figure out those relationships (key-fields,
column-names, etc.) which is in the <relationships> section of
jbosscmp-jdbc.xml.

Is there a reason why you don't want to use @jboss.relation tags?  Using
them won't screw up your app for other J2EE containers.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andy
Jefferson
Sent: Monday, July 14, 2003 12:33 PM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] JBoss : jbosscmp-jdbc - suppression of
relationships section


I have a J2EE system that has the relationships defined in ejb-jar.xml.
The system is designed to work on many J2EE servers, and so that is the
reason it has the relationships there only. I'm converting it across to
use XDoclet, and have generation of ejb-jar.xml, jboss.cmp, and
jbosscmp-jdbc.xml

The only problem is that xdoclet is creating the section <relationships>
in the jbosscmp-jdbc.xml file which promptly causes JBoss to fail to
deploy (because I havent specified @jboss.relation tags).

Is there a way to suppress the writing of this section of the
jbosscmp-jdbc.xml file ?


TIA
--
Andy


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to