[Opensource] addIndex?? AutoIncremented??? (they don't work for me)
Itamar Almeida de Carvalho
itamar at oktiva.com.br
Fri Aug 2 14:25:48 PDT 2002
We are doing some tests here and I just can't add an index for my
tables... I'm using MySQL and we used this code:
public void setupFields() throws DBException {
setTargetTable("operador");
setDescription("Operadores");
addField("idOperador","int",0,false,"Id deste operador");
setAutoIncremented("idOperador");
addKey("idOperador");
addField("login","varchar",16,false,"Nome de usuario");
addIndex("login","login",true);
addField("senha","varchar",16,false,"Senha do usuario");
}
When we look at the created tables structure, the keys are there, but
the indexes aren't. And the "idOperador" field isn't "auto increment".
It's not implemented yet? (we are using Expresso 4.0.2 complete)
Thanks in advance.
Best regards,
--
Itamar Almeida de Carvalho
Desenvolvimento de Sistemas
itamar at oktiva.com.br - (+85) 281-2223
Oktiva Telecomunicações e Informática Ltda
http://www.oktiva.com.br
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://mailman.jcorporate.com/pipermail/opensource/attachments/20020802/97760c0e/attachment-0002.bin
More information about the Opensource
mailing list