-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dyego Souza Dantas Leal said the following on 5/2/2006 2:58 PM:
> I have a problem using the latest version of Connector/J
> 
> 
> the DESC of table shows:
> 
> mysql> desc tiposelo;
> +----------------+-----------------+------+-----+---------+----------------+
> 
> | Field          | Type            | Null | Key | Default |
> Extra          |
> +----------------+-----------------+------+-----+---------+----------------+
> 
> | Tp_Id          | int(4) unsigned | NO   | PRI | NULL    |
> auto_increment |
> | Tp_Ativo       | int(1) unsigned | NO   | MUL | 0      
> |                |
> | Tp_Descricao   | varchar(200)    | NO   | UNI |        
> |                |
> | Tp_Equivale    | int(2) unsigned | NO   | MUL | 0      
> |                |
> | Tp_Escopo      | varchar(200)    | NO   | MUL |        
> |                |
> | Tp_MascaraSelo | varchar(20)     | NO   |     |        
> |                |
> | Tp_Valor       | double(16,2)    | NO   |     | 0.00   
> |                |
> +----------------+-----------------+------+-----+---------+----------------+
> 
> 7 rows in set (0.01 sec)
> 
> mysql>
> 
> 
> The Key Tp_id is a PRIMARY KEY.... but with connector/J
> 
> Call getPrimaryKeys() and result's in a null resultset
> 
> The Connector/J is broken ?
> 
> ps: the EXTRA clause "auto_increment" is not showed on .getIndexInfo()
> 
> 
> MySQL 5.0.20a
> Connector/J 3.1.12
> Linux box
> Java 1.5.0_06

Dyego,

Exactly how are you calling getPrimaryKeys(), i.e. the _exact_ arguments
you're passing in.

Do you actually get a NULL result set (shouldn't happen), or an empty one?

This functionality is tested all over the place in the testsuite and the
JDBC compliance test, so we're pretty darn sure it's solid, but we'd
like to track down where it's going wrong for you. Unfortunately we
can't do that without more information.

        -Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEV70YtvXNTca6JD8RAhfwAJ9PD8m6zL+RShCgAujRVXV3Ong3KACgnAZJ
Jz4y4vGlI8yrv4WH/9zEi7I=
=Ik8X
-----END PGP SIGNATURE-----

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to