Menu

JDBC

Select che ritorna unico record
public Reference getReference(String idRole,String idUser){ String sql="SELECT * FROM refers WHERE id_role=? AND id_user=?"; Reference [...]
Select che ritorna unica colonna
public String getUsernameBySapCode(StringsapCode){ String sql = "SELECT username FROM users WHERE sap_code=?"; String [...]