On Tue, 27 Jan 2004 [EMAIL PROTECTED] wrote: > I am contemplating using Middlegen (2.0 VO) to generate Struts (1.1) and > Hibernate (2.1.1) classes for an application that I am working on. > I have a few questions that I can't seem to find answers to in the > documentation of Middlegen. > First a little background on the project. It is a conversion from an > existing application. > The database is Oracle, it already exists and can not be altered. > >From some unknown reason the tables in the database were created without > primary key definitions. > They have unique indexes but no primary keys. Some of the unique indexes are > generated by Oracle as sequences (each table having it own sequence). > > My questions are the following: > > 1) Can I use middlegen to generate the Hibernate classes for this database? > If so, how do I deal with the lack of a primary key and the oracle > sequences?
I believe this has not yet been implemented. There are some change requests regarding this functionality. > 2) The Struts plug-in seem to be EJB centric - is there a way to configure > it to generate Hibernate centric code instead? Only way right now is to get the sourcecode from cvs and change it to use hibernate instead. We're going to put in an adapter/switch to make it work for both cmp and hibernate, but this has not yet been implemented. Regards - Eivind W. > If someone could help with these 2 questions I would be very grateful. > > Thanks > Julio > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > middlegen-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/middlegen-user > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user
