The JavaDoc issue is on the wish list:
http://cwiki.apache.org/CAY/30-wish-list.html
It hasn't been worked upon yet, though (to my knowledge). You can't
just edit the subclass if you want to continue using the modeler to
make changes, because your comments would get overwritten by the
modeler the next time you generated the class. Ideally, I think, we'd
allow comments to be entered into the modeler to be generated.
I'm not sure about the ER question (I never use that stuff). It isn't
in Cayenne, but if you can find a tool you like which reads the DB,
that might be your best option at this point in time. Maybe others
will have some better thoughts on that issue.
Thanks,
/dev/mrg
On 8/4/07, Joe Baldwin <jfbaldwi..arthlink.net> wrote:
> I have converted my entire datasource management over to Cayenne
> Modeler and it has made the coordination of the ORM part of my
> project one of the easiest and most reliable components to maintain
> and evolve. I have two questions about generating project
> documentation:
>
> What is the use-pattern is to document the Entities (i.e. generated
> Java classes) so that they will be visible to Javadoc. (I was
> thinking that I could embed comments in the generated sub-classes,
> but then I was unsure how that would weather the changes I am making
> to the DB schema via Cayenne Modeler, or if that was even the
> smartest way to accomplish this.)
>
> I have done some quick research and I can't seem to find a way to
> generate ER diagrams. What tools, if any, are recommended that
> generate Entity-Relationship diagrams and are also compatible with
> Cayenne?
>
> Thanks,
> Joe
>
>
This archive was generated by hypermail 2.0.0 : Sat Aug 04 2007 - 13:38:19 EDT