From: <asl...@ne...> - 2002-11-24 20:55:21
|
Hi! Sorry for cross-posting. Please continue hibernate related discussions over in hib...@li.... If it's Middlegen related, crosspost to mid...@li.... The best way to use Middlegen (http://boss.bekk.no/boss/middlegen/) with Hibernate would be to use a similar approach as CMP. Middlegen could generate the java beans with @hibernate tags. Then you let XDoclet generate the hibernate-mapping.xml with Hibernate's XDoclet module. Hibernate maintains their own XDoclet module in the CVS module named Tools. It doesn't look like the Hibernate folks are including their XDoclet module in their distro, but you'll find it here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/hibernate/ The hibernate tags: http://tinyurl.com/2z2v Who wants to write a Hibernate plugin for Middlegen? Cheers, Aslak > -----Original Message----- > From: xdo...@li... > [mailto:xdo...@li...]On Behalf Of Matt > Raible > Sent: 24. november 2002 19:19 > To: 'XDoclet User List' > Subject: [Xdoclet-user] Xdoclet, Middlegen and Hibernate > > > I'm looking to produce a Struts example app with a persistence layer > that is fully generated from an existing database. I'd like to use > Castor, Hibernate, or possibly JDO (other suggestions welcome). I've > seen Middlegen, which seems it might do everything, except I couldn't > use Castor or Hibernate - but possibly JDO. > > Does anyone on this list have any hints or tips for using > Ant/Xdoclet/Middlegen for fully creating this kind of app? > > Thanks, > > Matt > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Xdoclet-user mailing list > Xdo...@li... > https://lists.sourceforge.net/lists/listinfo/xdoclet-user |