Method setString(int parameterIndex, String x)
Return type: void
Member of: java.sql.PreparedStatement
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 call.setString (2, "foo");
2 storeDelta.setString(2, full ? "x" : "t");
3 stmt.setString (3, "store_foo");
4 mockPreparedStatement.setString(1, "rod");
5 mockPreparedStatement.setString(3, "rod");
6 insp.setString(3, "(123) 456 789");
7 pstmt.setString(2,"2");
8 ps.setString(1, instanceId);
9 deleteStatement.setString(1, revisionUri);
10 pstmt.setString(1, convertUsingEnc(comment, true));
11 ps.setString(1,gid);
12 ps.setString(1, globalKey);
13 ps.setString(1, key);
14 statement.setString(2,ipAddress);
15 stmt.setString(1, catalog);
16 statement.setString(1, uri.toString());
17 ps.setString(1, status);
18 cstmt.setString(4, p_vo.DocumentType);
19 pstat.setString(1,title);
20 public void setString(int parameterIndex, String x) throws SQLException { _stmt.setString( parameterIndex, x); }
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.