You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Jeb Boniakowski <jb...@nntllc.com> on 2001/07/24 20:33:43 UTC

Torque's types

Is there a list of all the types columns can be in torque schemata? The
Schema Ref says "type - What type of column is it? (Covered below), defaults
to VARCHAR".  I don't think that below got put in.

Also, does this matter?  As in, does Torque just textually drop these in to
the SQL files, or does it translate them where necessary?

jeb.


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: Torque's types

Posted by Warner Onstine <wa...@warneronstine.com>.
----- Original Message -----
From: "Jeb Boniakowski" <jb...@nntllc.com>
To: <tu...@jakarta.apache.org>
Sent: Tuesday, July 24, 2001 11:33 AM
Subject: Torque's types


> Is there a list of all the types columns can be in torque schemata? The
> Schema Ref says "type - What type of column is it? (Covered below),
defaults
> to VARCHAR".  I don't think that below got put in.

Sorry I need to add that section to the schema-ref (or perhaps a separate
doc). Each type gets translated based on what type of database you are
targeting.

Look in turbine-torque (it depends on what you're looking at since the whole
change-over) but look in the src/templates/sql/base/(database)/db.props

where (database) is the database you are targeting, this should explain the
mapping between your schema and what sql will be generated for it.

Hope that helps.

-warner

> Also, does this matter?  As in, does Torque just textually drop these in
to
> the SQL files, or does it translate them where necessary?
>
> jeb.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org