Ok. I'll work on a new Exporter to create javadoc-style documentation. I'll let you know when I have something working.
:-) On Apr 7, 2005 9:58 AM, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: > Hi Ricardo, > > > Because of this probably the toolsets generators/templates would be > > the best place for me to begin. > > They are locatated in the hibernateext module under the tools directory. > > > Anyway I find the following quite interesting: > > > > - building hbmlint (a validator that checks if a hibernate configuration > > matches the database) > > This one is described here: > http://opensource.atlassian.com/projects/hibernate/browse/HBX-95 > > > - building datagen (a tool for easy generation of testdata based on a > > hibernate configuration) > > Not begun or described yet, but in short words: > > Hibernate mapping contains alot of information that can be used to generate > test data with simulated content while obeying the constraints of the db. > > By using the mappings + some info on what kind of data that is in the > fields and their constraints > you can automatically sample/generate a good test bed. Add some good > sampling methods and > stochastic calculations to provide some user controlled variations to the > data and their assocations > and we will have something that could be very usefull for junitesting, > loadtesting and mere fun ,) > > I've added this as an jira at > http://opensource.atlassian.com/projects/hibernate/browse/HBX-215 > > > - building/adding/improving the toolsets generators/templates (like > > providing a DataDictionary, class diagram generation etc.) > > Our generator is simply handled a Hibernate Configuration and from that we > today can generate: > - pojo code (with or without generics and/or ejb3 annotations) > - hbm.xml (used for our rev.eng. to output the reverse engineerd mappings) > - hibernate.cfg.xml > > This can be extended via code and/or velocity templates and some of the > ideas I/we have are: > > Generate a data dictionary of the catalog/schema/table/columnsforeignkey > with info on what they are used etc. > (I'm imaging something like a javadoc layout, but just for a db with > catalog/schema as "packages", table as "classes" and columns/foreignkey as > "fields/methods") > > Generate ER/Classdiagrams in to some already existing fileformat for a > graph tool (like http://c2.com/cgi/wiki?GraphViz) (these could even be > integrated into the datadictionary from above) > > Generate DAO's (i think Gavin is working on this) > > <put your own wish here> > > ...and then the existing templates/code can also be improved - especially > the EJB3 stuff which only handles the basic cases at the moment. > > > You tell me which project needs more help and please give me more > > information about the pending tasks. > > All of the above ,) > Pick one that fits what you like and fits your existing knowledge of > hibernate.... > > /max > > ------------------------------------------------------- > 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 > ------------------------------------------------------- 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