I got this exception: java.sql.SQLException: [Microsoft][SQLServer 2000 
Driver for JDBC]No ResultSet set was produced at line # 2 in this code:


conn = this.dataSource.getConnection();
ResourceBundle resourceBundle = ResourceBundle.getBundle("ladw/resources");
statement = conn.prepareCall(resourceBundle.getString("sp.getPassword"));
statement.registerOutParameter(1,Types.VARCHAR); 
statement.setString(2, userName);
statement.registerOutParameter(3,Types.VARCHAR); 
statement.execute();
String result = rs.getString(1);

can somebody help me?

-- 
------------------------------------------------------------------
Carlos J, Bracho M. 
------------------------------------------------------------------
e-mail: [EMAIL PROTECTED]
MSN: [EMAIL PROTECTED]
+58 416 409 21 75 
------------------------------------------------------------------

Reply via email to