Oracle
 SQL >> Database >  >> RDS >> Oracle

Oracle JDBC e il tipo di dato CHAR

Se vuoi che

stmt.setString(1, "a"); // This won't return any records 

restituisca un record, prova

conn.prepareStatement("select * from x where c = cast(? as char(4))")