> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Eivind Waaler
> Sent: Friday, March 05, 2004 12:21 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Middlegen-user] Reverse from an existing database
> 
> Just set up middlegen to run against your database.

Done

> sample build.xml script includes a target to run hbm2java, 
> which depends on the middlegen target.
> 
> So set up your database, package names etc. then simply run 
> 'ant hbm2java' to generate the xml mappings with java files.

I am getting a ant not task found for the middlegen task. Is it in one of
the jars? (doesn't seem to be in hib2.jar or hib tools jar. Maybe this is an
optional ant task I need to get from ant? Does it need to go into the ant
lib (like junit)?

Will it somehow export the database schema? (or do I not care)?

thanks

> On Thu, 4 Mar 2004, Ray Tayek wrote:
>  
> > ... existing mysql database ...
> > reverse the existing database tables directly into java objects if 
> > possible. According to the diagram at: 
> http://hibernate.org/102.html, ...



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to