John Lenton
2004-02-09 21:57:06 UTC
Hi all again.
We'll be using Modeling for a large(ish) database shortly, and we'd
like to have to make minimal changes to the generated files, to
minimize the work required upon a schema change, given that we'll
probably have a lot of them during the initial developement.
In other words, we'd like to be able to put the business logic in one
tree ('luca', for example), and have the Modeling stuff in another
tree ('mdl'), with any given class in luca inheriting from its par in
mdl. That's pretty easy to do, except that we're concerned that things
like
person.getAddresses()
(to borrow from Sample) would return objects from the 'mdl' tree, and
not our own.
Maybe we're just being too lazy, but we fear that, if we don't find a
way to do this at least semi-automagically, the worked involved will
be tedious, and thus error-prone.
We'll be using Modeling for a large(ish) database shortly, and we'd
like to have to make minimal changes to the generated files, to
minimize the work required upon a schema change, given that we'll
probably have a lot of them during the initial developement.
In other words, we'd like to be able to put the business logic in one
tree ('luca', for example), and have the Modeling stuff in another
tree ('mdl'), with any given class in luca inheriting from its par in
mdl. That's pretty easy to do, except that we're concerned that things
like
person.getAddresses()
(to borrow from Sample) would return objects from the 'mdl' tree, and
not our own.
Maybe we're just being too lazy, but we fear that, if we don't find a
way to do this at least semi-automagically, the worked involved will
be tedious, and thus error-prone.
--
John Lenton (***@vialibre.org.ar) -- Random fortune:
25 de Diciembre, Doom, Doom, Doom.
John Lenton (***@vialibre.org.ar) -- Random fortune:
25 de Diciembre, Doom, Doom, Doom.