Si vous voulez
stmt.setString(1, "a"); // This won't return any records
pour renvoyer un enregistrement, essayez
conn.prepareStatement("select * from x where c = cast(? as char(4))")
Si vous voulez
stmt.setString(1, "a"); // This won't return any records
pour renvoyer un enregistrement, essayez
conn.prepareStatement("select * from x where c = cast(? as char(4))")