Ola estou usando java para acesar postgres versão postgresql-8.3.7-1-windows.exe
Tento cadastrar uma data assim:
String sql = "INSERT INTO tabeladata(data) VALUES(?);
try{
CallableStatement cstmt = ......
cstmt.setString(1,sdf.format("15/06/2009"));
..........
}
Ocorre erro:
org.postgresql.util.PSQLException: ERROR: column “data” is of type date but expression is of type character varying