Hi,
When using the hbm2doc, it creates an html with for main link on top:
TABLES CLASSES QUERIES TYPES
by navigating these links we find that only TABLES link has full documentation, other links have no html in them. We were looking for classes tab and hoped it made a good documentation out of our classes (just like tables)
For testing Query link we used below mapping file, but the Query link does not worked:
Code:
<hibernate-mapping package="sample">
<class name="Employee" table="employee">
<id name="id" type="long" length="12">
<generator class="increment"></generator>
</id>
<property name="taxFileNumber" type="string" />
<query name="sample">
<![CDATA[ from Employee as emp
where emp.id = ?]]>
</query>
</class>
</hibernate-mapping>
By browsing files we found tables and assets directories. No directory for classes, quries and types where created.
Any comments!
Also a small bug: We found that excuting the hbm2doc command will not overwirte index.html and header.html but it only makes them zero sizes.
Regards,
Alireza Fattahi
P.S.: hbm2doc is very intersting and simple to use!