Hi Jeff,

On Mon, 2003-07-14 at 18:16, Jeff Markham wrote:
> 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.

You DO NOT have to define them in the jbosscmp-jdbc file. I have the app
running now with no relationships in there, they are defined in
ejb-jar.xml only. The jbosscmp-jdbc file is not ADD TO the definition in
ejb-jar.xml only (if you want to add to it). At this stage I do not want
to add to it in terms of relationships. JBoss as a J2EE container can
figure out relationships based on the ejb-jar definition and it adds all
necessary foreign keys or intermediary tables to provide these
relationships.

> 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.

Yes, I know. I intend to get the app running based on the ejb-jar
definition of relationships first, and then maybe add server-specific
tags later to fine-tune things.


-- 
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

Reply via email to