In short:

The CodeGenerator of the future (hbm2java) will do the following:

Given a set of hbm.xml files it will generate a set of .java files with
XDoclet tags included

Nothing more - nothing less :)

The ReverseGenerator of the future is actual MiddleGen which will do the
following:

Given a JDBC connection it will generate one (or a set?) of hbm.xml files
with <meta> tags in them to provide for "feeding" the codegenerator.

Nothing more - nothing less :)

Hope that clarifies it :)


The following ascii art (derived from Gavins previous posting) tries to
illustrate the boundaries/responsibilities :)

java + @tags ===XDocLet===> hbm.xml ===SchemaExport ===> SQL DDL/JDBC
java + @tags <==hbm2java==== hbm.xml <==MiddleGen====== SQL DDL/JDBC

 /max

----- Original Message -----
From: "Raible, Matt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 11:27 PM
Subject: [Hibernate] Codegenerator of the future?


> Will the Codegenerator of the future
> (http://hibernate.bluemars.net/52.html#17) replace the current
> ReverseGenerator?  What I mean is that I have used the ReverseGenerator to
> create a TableName.java class and it's accompanying TableName.hbm.xml.
This
> works great and I applaud you all on making this work so nicely.  It'd be
> cool if the "future" version could generate the .hbm.xml file and then
> XDoclet or an Ant Task could be used to generate the actual .java file.
OR
> maybe it could generate the .java file and have it marked up with XDoclet
> tags.  I think the current way works great - don't get me wrong - just
> wanted to spew my ideas after using it.  It'd also be cool if the
> ReverseGenerator could generate sets and such for foreign keys to other
> tables/classes.
>
> After using Hibernate at my new job for a couple weeks, and especially the
> ReverseGenerator - I must say that Hibernate is the coolest tool I've
worked
> with in a long time.  Maybe it's cause it's new - but I feel the same
> excitement about it as I did with Ant and Struts.  I think you've
developed
> an awesome piece of software here and I thank you ssssoooo much for making
> it open source - and making my persistence life that much easier.
>
> You guys are geniuses!
>
> Matt
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> hibernate-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/hibernate-devel
>



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to