Henri Tremblay wrote:

Hello,
At job we have decided to convert our application to Hibernate to solve some persistence issues that were previously done by hand (caching, lazy loading, outter-join and so on).
An existing application is not really easy to convert but it's going pretty well. The first thing that was missing was to be able to create hbm.xml files. I tried class2hbm (and improved it a little) but it wasn't enough. So on my free time I've started a HbmGenerator that creates a hbm.xml file from the class, table and a field mapping between both. It currently goes pretty well. I can map normal fields, user types (that we use a lot) and tonigh I'll try to add associations. So I thought you might be interested to see this app (and possibly add it to the hibernate tool set). What do you think?

Sounds interesting - even though .class files are VERY poor on information - thus the reason why we don't encourage usage of class2hbm, because
you almost everytime need to hand-manipulate the generated hbm.xml files.


But if you have improvements they are more than welcome - still I would prefer that you could do it by improving class2hbm, but you probably got some reasons for not to do it ?

On side of that, I'm also working on hibern8ide. My first improvement was to be able to save the configuration so that each time you reopen it you don't have to reload everything anymore. My next idea is to add auto-completion for the queries and to have real file management. Same question, do you want my collaboration on that?

Sure, add patches to it on the JIRA and we will integrate them. I must ask, what do you mean by "real file management" ?

/max


------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to