In the build.xml file, you can specify what tables to use with <table> subtasks to the <middlegen> task: http://boss.bekk.no/boss/middlegen/ant/table.html
For example, for the sample tables: <middlegen... <table name="persons"/> <table name="flights"/> <table name="reservations"/> <hibernate.../> </middlegen> Cheers .eivind On Mon, 10 Nov 2003, Christian Schlaefcke wrote: > Hi Folks! > > I started working with Struts/Hibernate/HSQLDB and found this brilliant > tool midlegen! I basically want to use it with with a huge DB2 database > with lots of tables and views in it. My problem is that middlegen seems to > load all tables by default. Is there a way to tell hibernate what tables > and views it should use for bean generation? > > Thanks and Regards! > > Chris > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > middlegen-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/middlegen-user > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user
