Hi Max,
hi ricardo,
I'm working on the Doc generator,
nice! btw. i'm cc'ing this to devel so the other guys can see the progress.
I've been checking out the mapping model (org.hibernate.mapping) and I have one question:
In the documentation I want to show how each column is used (property, collection, etc).
Nice! I was hoping you also would cover this one.
On the object model the column has a reference to the value but the the value doesn't have a reference to the Property so I can't navigate the object structure from the Column to the Property (The documentation generation process is driven by the table list).
Yes, column does not know how to navigate "upwards" and that is intentional.
What I'm going to do is create a set of Maps at the begining of the process to keep the the Columns as keys and the Properties as values to use during the generation of the documentation inside the velocity templates.
Yes, I were planning to add this logic too as I also need it some places of the plugin - so feel free to add a method that does this.
I think that one possible reason for this is that you could map the same column for many objects, is that correct? In this case I'll need a Map with Columns as Keys and Lists of Properties as values.
The same columns can be noted multiple places, but note that columns will not always be the same instance (==), but will have the same name so be sure to use .equals() to do the comparisons/lookups.
What do you think about this?
Sounds great ... would reaaallly like to see how far you have gotten ?
If you dont like to show code yet, then maybe just a sample output ?
/max
Best Regards, Ricardo.
On 4/13/05, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote:Hi guys,
any planned date for 3.0.1 ?
I got some minor additions to the core that I would like to add
(MetaAttributable).
And if 3.0.1 is not planned to be released soon (within a week) i'll need
to hold changes
in the toolset back as otherwise the next tool release will not work with
the latest release of hibernate...
-- -- Max Rydahl Andersen callto://max.rydahl.andersen
Hibernate [EMAIL PROTECTED] http://hibernate.org
JBoss Inc [EMAIL PROTECTED] http://jboss.com
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
-- -- Max Rydahl Andersen callto://max.rydahl.andersen
Hibernate [EMAIL PROTECTED] http://hibernate.org
JBoss Inc [EMAIL PROTECTED] http://jboss.com
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel