AFAIR currently jdbc task does not dump indexes - only primary and foreign
keys. Feel free to add indexes - this should be trivial. Look at
TorqueJDBCTask.java


fedor.

-------------------------------
Any expressions expressed here only express my own expressions.

> -----Original Message-----
> From: Lang, Cliff [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 27, 2001 11:39 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Getting secondary index information during project-jdbc
> with toque-3.0a5 and MySql
> 
> 
> Not primary keys, but muti-part indexes - for general use to speed
> access.
> 
> -----Original Message-----
> From: Daniel Rall [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 27, 2001 2:37 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Getting secondary index information during project-jdbc
> with toque-3.0a5 and MySql
> 
> 
> "Lang, Cliff" <[EMAIL PROTECTED]> writes:
> 
> > Is there a way to output the secondary indexes that are 
> currently in a
> > MySQL db?  All I get is the primary index in schema.xml while using
> "ant
> > project-jdbc"
> 
> What do you mean by primary vs. secondary indexes?  There are primary
> keys (which are implicitly indexed by MySQL itself), there are extra
> indexes [implicitly] generated by Torque for multi-part primary keys,
> and there are explicitly listed indexes.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to