As I said. As far as I know the same model should work for several database products. I took a brief look at the om generation templates and I didn't see anything database specific. Although there are some references specific to the id method used.
But I may be wrong. It wouldn't be the first time.;-) In any case I think it is desirable to have an object model that doesn't need to be regenerated. And that reminds me of the Torque code inside Turbine. It works eventhough everybody has a different product. -- Humberto > -----Original Message----- > From: Rob Gordon [mailto:[EMAIL PROTECTED] > Sent: Monday, February 02, 2004 4:02 PM > To: Apache Torque Users List > Subject: Re: Torque Objects for multiple databases > > > > > > > > > > > move all db specific stuff from the generated classes to the base > > > classes (so you don't have to regenerate the modell for > different dbs) > > > > So this pretty much provides a "No" answer to your question. > > > > I believe Rob's work involves support for multiple > databases using the > > same schema _and_ underlying RDBMS so I think you are > talking about two > > different things. > > This is a correct description of my work. I read "same > database" as "same > schema." But, yes, my work assumes on same RDBMS. > > For sure, you can't use same OM for different RDBMSs. The sql > generation > relies on different templates in the torque-gen release. You > would only be > able to pull this off if the generated sql for RDBMS from > Vendor A just > happens to match generated sql for RDBMS from Vendor B. It is not > generally the case that it would work. > > Rob > > > > > > > Cheers, > > > > Scott > > > > -- > > Scott Eade > > Backstage Technologies Pty. Ltd. > > http://www.backstagetech.com.au > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
