that is not what i was talking about. I am in need of a OM-Class stating
the attributes i declare in the project-schema, i don't need the
Peer-Objects and
i don't want things like a save-method, as well as i don't need the tables.
I know i can generate only the OM-Classes when i use ant project-om,
though i want to be able to use ant init and all will work like i want.
In short, i want java-classes to be generated which only have in them the
atributes stated in the schema as well as the getter/setter-Methods, plus
the hierarchy (Superclass) i define in the project-schema.xml
I think skipSql is the key to my problem, but ant blocks in the generation
of the
om-classes (and since it blocks there, it will also block with ant
project.-om).

Thanks anyway though ^^

Christine

----- Original Message -----
From: "Stefan Friedle" <[EMAIL PROTECTED]>
To: "Turbine Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, July 03, 2002 12:49 PM
Subject: Re: torque in tdk 2.1 - how to generate only the OM-classes without
tables


> Christine Keim wrote:
> > I need to generate OM-Classes which i declare with torque, but
> > not the tables that go along with them. I am in need of the classes with
> > the declared attributes and getter/setter methods but don't need them
> > to be mapped to the db (cause those attributes are being stored
somewhere else).
> [...]
>
>    Have you tried the 'project-om' task:
>
> $ ant project-om
>
>    HTH, Stefan
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to