On 6/14/01 10:10 AM, "Heiko Braun" <[EMAIL PROTECTED]> wrote:

> 
> hi,
> i am currently working on my project schema file,
> and i was wondering if torque supports the
> mysql column types SET and ENUM.

If they are not JDBC column types than they are
not supported. Look in the src/dtd/database.dtd
for all the supported JDBC column types.
 
> i looked at the corresponding db.props file
> and found an _empty_ mapping for the ARRAY type:

No one has asked to use it, and there isn't support
for that type in the peers or in village so it
probably wouldn't work in turbine, but if you
just want to generate SQL than you can probably
add what you want.
 
> -- SNIP --
> 
> # Taken from java.sql.Types in the IBM 1.3 JDK
> # JDBC to MySQL mappings
> [...]
> STRUCT=
> ARRAY=
> 
> --- /SNIP ---
> 
> 
> can i just extend the db.props like
> 
> ARRAY=SET
> 
> and for the mysql ENUM type declare an additional mapping?
> 
> VARCHAR=ENUM
> 
> but this way i would have the jdbc type VARCHAR
> mapped two times, once for mysql VARCHAR _and_ for mysql ENUM...
> 
> 
> thanks,
> 
> ----------------------------------------------
> heiko braun, fork unstable media [development]
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 

jvz.

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



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

Reply via email to