On Tue, Feb 06, 2001 at 09:56:55AM -0500, Jason van Zyl wrote:
> 
> 
> On Tue, 6 Feb 2001, Shaun Campbell wrote:
> 
> > 
> > Apologies if this is documented somewhere but are the keywords used to
> > specify the mysql data types in the schema xml file defined anywhere?
> 
> The types defined in the XML schema are JDBC types. How the JDBC
> types map to your native RDBMS is defined in a file called
> db.props in the Torque template directory for a particular
> RDBMS. Right now the current mapping which will give you
> MEDIUMBLOB for MySQL is the VARBINARY JDBC type. If you
> look in the db.props file for MySQL you will see how all
> JDBC types are mapped to the corresponding MySQL types.

Oh, okay - I missed that. Sorry Shaun for the misleading information.

So that's a nice bit of abstraction there. Just to clarify, the types you
specify in your XML schema are the JDBC types right? So for MySQL Shaun
would specify VARBINARY ...

-- 
Sean Legassick
[EMAIL PROTECTED]
      ~ Als Mensch kann mir nichts menschliches Fremd se 
      
      


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to