Hi Chris! Please post to the list. There is a lot of people reading it, 
and they should be able to join any discussion about development :)

----- Original Message -----
From: Christoph Sturm <[EMAIL PROTECTED]>
Date: Thursday, September 27, 2001 11:57 pm
Subject: Re[6]: [Xdoclet-devel] Re[6]: [Xdoclet-user] weblogic-ejb-
jar.xml

> Hello aslak,
> 
> Wednesday, September 26, 2001, 8:57:46 PM, you wrote:
> 
> ahnn> Here ya go. I am having problems with relations too, trying 
> to fix it. 
> ahnn> The docs for relation are completely wrong, so hopefully my 
> code will 

Ara got angry and told me to fix the docs. :o) Here is a short 
description:
> ahnn> help you a bit. The @X tags are just tags that I "commented 
> out".
> I'm trying to create some n:n relations, but looking at the templates
> I think only 1:n works, and n:n would be a bit harder to implement.
> 
I have got bidirectional 1:n relations working now. It's very important 
*NOT* to use the (@ejb:relation) target-xxx parameters for 
bidirectional relationships (they are undocumented). They are intended 
for use *ONLY* with unidirectional relationships. I'll update the docs 
over the weekend.

When it comes to the @weblogic:relation tag, I have done some more work 
in the WeblogicSubTask, adding a forAllWeblogicRelations method, highly 
inspired from the forAllRelationships in AbstractEjbSubTask.

I'm actually able to generate 1:n relationships, I have tested it and 
it seems to work.

My TODOs now are:
1:1 (bi and uni)
1:n (uni)
m:n (bi and uni)

(You see, there are 6 "kinds" of relations. Only one has been proven to 
work)

> what weblogic version do you use? 6.0? I use 6.1 and I think that in
> ejb2.0 final all queries must start with "select", not with "where".
>

6.1. We shouldn't try to support 6.0 in my opinion, at least not for 
now. It has too many bugs, and by the time we get this stable, most 
people will have moved from 6.0 to 6.1 anyway.
 
> I'm now trying to figure out how the deployment descriptors should
> look like, maybe I can get something working then....
> 
I'll send you a working example over the weekend, so you can see. The 
Weblogic DTDs are actually good documentation. They even have examples.

So the plan is: I'll commit my latest improvements on Monday, (and 
update the example code). As soon as there is something working, it's 
easier to cooperate on the improvements.

Aslak.
> 
> ahnn> I'm going to take a look at your message/session stuff now.
> 
> ahnn> Aslak
> 
> ahnn> ----- Original Message -----
> ahnn> From: Christoph Sturm <[EMAIL PROTECTED]>
> ahnn> Date: Tuesday, September 25, 2001 9:13 pm
> ahnn> Subject: Re[4]: [Xdoclet-devel] Re[6]: [Xdoclet-user] 
> weblogic-ejb-
> ahnn> jar.xml
> 
> >> Hello aslak,
> >> 
> >> Tuesday, September 25, 2001, 2:06:01 PM, you wrote:
> >> 
> >> ahnn> Fantastic! I'll commit it and give you feedback in a day 
> or 
> >> two. A 
> >> ahnn> little busy these days.
> >> 
> >> I read in the mailinglist archives that you sent demo beans for 
> your>> weblogic tasks to the list. Unfortunately I wasnt 
> subscribed back
> >> then, and the archive doesnt contain attachments. Can you 
> please mail
> >> your test classes to me, or add them to cvs? I'm trying to get
> >> ejb:relations working with xdoclet, but the docs are out of 
> date, and
> >> there are absolutely no samples.
> >> 
> >> regards
> >> chris
> >> 
> >> 
> 
> 
> 
> -- 
> Best regards,
> Christoph                            mailto:[EMAIL PROTECTED]
> 
> 


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to