Pokud chcete
stmt.setString(1, "a"); // This won't return any records
chcete-li vrátit záznam, zkuste
conn.prepareStatement("select * from x where c = cast(? as char(4))")
Pokud chcete
stmt.setString(1, "a"); // This won't return any records
chcete-li vrátit záznam, zkuste
conn.prepareStatement("select * from x where c = cast(? as char(4))")