> hi chris,
> i added return-type="java.util.Collection" and
> persistence-name="whatever" to your snippet below.
> i get an "EXCEPTION_STACK_OVERFLOW in native code outside
> the vm". i guess this is, what you where talking about.
yeah, I got the stack overflow when I added return-type. I then
removed it again, because to me it seems that the template calls
itself again (the merge line I mentioned) with an added parameter
return-type. So the return type parameter is only used internally.
Because of this strange recursive style I guess only the creator of
the template will be able to tell us whats wrong here.
Its not such a big problem because orion generates a collection
mapping automatically, you just have to define a static final variable
like this to tell it what type you want to reference:
public static final Class <fieldname>_type=<full_type>.class;
so I dont really need it, but if the feature is there and doesnt work,
we should try to fix it.
> this was also my first try to generate this type of mapping,
> so i'm stuck here also.
> jan
> ps: im going to have another look at this soon, because this
> is a feature i'd like to use in the near future.
> --
> Jan Heise / Tel: +49-163-4803237 / E-Mail: [EMAIL PROTECTED]
> -----Ursprungliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Im Auftrag von
> Christoph Sturm
> Gesendet: Dienstag, 9. Oktober 2001 11:54
> An: Jan Heise
> Cc: [EMAIL PROTECTED]
> Betreff: Re: AW: [Xdoclet-devel] orion support
>> hello chris,
>> the orion stuff works for me (used it last week). perhaps you
>> post an example bean where the problem occurs and i'm gonna
>> have a look at it.
> here's my code snippet:
> /**
> *
> * @ejb:persistent-field
> * @ejb:interface-method
> * @orion:persistence table-name="MatchArticleCategory"
> type="redact.ejb.interfaces.Category" immutable="true"
> */
> public abstract java.util.Collection getCategories();
> but xdoclet doesnt generate anything for this (it should generate
> a collection mapping)
> If you could paste a working collection mapping it would be great :)
> regards
> chris
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel