On 05 Jun 2001 11:40:20 -0700, Jon Stevens wrote:
>
> Not foolish at all.
>
> On Mon, 4 Jun 2001, Jim McNeill wrote:
>
[cropped]
>
> > You add your business logic into the generated Java
> > code. So, standard question for code generators, how do I preserve my
> > business logic when I decide to add a few fields and generate the lot again?
>
> From the Torque side of things, it will generate base classes where the
> generated code is as well as *the first time it is run*, it will generate
> empty classes that extend those base classes. Since they are only
> generated the first time, they do not get overwritten.
>
Is there a recommended procedure to make DB structural changes to an
application once it has been generated, or even once the database has
been populated? A sort or backup/restore procedure (I know that for
severe changes to the DB structure it is nonsense, but for slight or
gradual ones, it is not).
--
"Create like a god, Bruno Unna <[EMAIL PROTECTED]>
command like a king, Internet de Alta Calidad
and work like a slave." Red Hat Certified Engineer
Kawasaki PGP public key available
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]