Subject What is this? Help
Author Francisco Antonio Vieira Souza
Why do I get this error when trying the next query?

Message: SQL type for this field is not yet supported.

private void getCliente(String cnpj)
{ try
{
stm = c.createStatement();
ResultSet rs = stm.executeQuery("SELECT * FROM CLIENTES WHERE
CNPJ='"+cnpj+"'");
if (rs.next())
{
campoNome.setText(rs.getString("NOME"));
campoCNPJ.setEnabled(false);
}
rs.close();

}
catch(SQLException se)
{
se.printStackTrace();
}
}
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.686 / Virus Database: 447 - Release Date: 14/05/2004