The documentation (cut and paste bug) is incorrect. The code requires the Array as the base since more that one can be added in the GUI. I have modified the code so the string argument is valid now. See CVS for the code.
Cheers David. -----Original Message----- From: Eivind Waaler [mailto:[EMAIL PROTECTED] Sent: Friday, 5 November 2004 6:39 PM To: [EMAIL PROTECTED] Cc: David Channon Subject: Re: [Middlegen-user] Help! HibernatePlugin doesn't support "implements" attribute...? Seems to be a bug with the Hibernate plugin. Maybe DavidC can look at it. Looking at the code I would think that the plugin should receive the implements as a String, not an ArrayList.. .eivind On Thu, 4 Nov 2004, David Brady wrote: > I have the following set for the hibernate plugin: > > <hibernate > destination="${project.generated.src.dir}" > package="xxx.mis.hibernate" > > javaTypeMapper="middlegen.plugins.hibernate.HibernateJavaTypeMapper" > standardGeneratorScheme="increment" > lifecycle="true" > implements="xxx.mis.hibernate.Reference" > > > </hibernate> > > And am using Middlegen 2.1. Running middlegen via ant gives: Class > middlegen.plugins.hibernate.HibernatePlugin doesn't support the > "implements" attribute. > > The documentation seems to indicate that it should support the > "implements" attribute. What am I doing wrong? > > Quick help from someone would be appreciated - this is holding a > project that I'm working on... > > Thanks, > David > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE LinuxWorld > Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > middlegen-user mailing list [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/middlegen-user > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user