These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: hbm2doc does not genreate docs for Classes and Queries
PostPosted: Thu Nov 17, 2005 4:51 am 
Beginner
Beginner

Joined: Mon Jan 24, 2005 11:56 am
Posts: 24
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!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2005 12:23 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
yes and under development. Contributions very much welcome to add these pages.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.