From: "Jeff Duska" <[EMAIL PROTECTED]>
> My data is scattered over three tables. Is there a way to use a query in
> the place of a table in the database schema? I cannot create a view in
> the database, so I need to do something in my application.

Not that I know of.
I believe you might be able to use a view in the database and define that in
your schema xml with skipSQL set to true. That way you doSelect to get a
real object back from the view.

> I'd also like to create aliases for the existing field names. I think
> you do this in the -schema.xml file, but I'm not sure.

There is an attribute called javaName.

see http://jakarta.apache.org/turbine/torque/schema-reference.html



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

Reply via email to