Hi!

I'm new on the Hibernate list, so I haven't followed your discussions about
XDoclet and Middlegen integration lately. -But I've seen your Wiki. As some
of you probably know already, Gavin has developed a Hibernate plugin for
Middlegen that should work with the recent XDoclet module for Hibernate
(which is in XDoclet's CVS and the recent 1.2b2 release).

http://sourceforge.net/tracker/index.php?func=detail&aid=660628&group_id=360
44&atid=415992

This means we'll have:

RDBMS -- Middlegen --> POJOs with @hibernate tags -- XDoclet --> hbm.xml

(POJO = Plain Old Java Object = simple javabean style class)

So basically you can start with a database, do some configurations in
Middlegen's GUI, and have the java code and hbm.xml files generated.

Gavin and I have been discussing a different approach though:

RDBMS -- Middlegen --> hbm.xml -- Hibernate's CodeGenerator --> POJOs

Both approaches are a mix of bottom-up (you start with a database) + either
xml->java or java->xml.

According to Gavin, Hibernate's CodeGenerator is more mature than XDoclet's
Hibernate module. However, his current Middlegen plugin advocates the
XDoclet approach (and not the CodeGenerator approach).

So my question is: Where do we go from here? Which approach do _you_ prefer?
(Considering that this Hibernate/XDoclet/Middlegen marriage is still quite
young and untested).

Cheers,
Aslak (Middlegen and XDoclet committer)



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to