Method prepareStatement(String sql)
Return type: java.sql.PreparedStatement
Member of: java.sql.Connection
[api documentation ] [ main menu]

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

1 PreparedStatement selp = con.prepareStatement(
2 PreparedStatement stmt = conn.prepareStatement("select * from dual");
3 PreparedStatement stmt = conn.prepareStatement("select * from dual");
4 ("delete from revisioncontent where uri = ? and xnumber = ?");
5 PreparedStatement statement = conn.prepareStatement("select * from songs_view where artistId = ? order by songnumplays");
6 PreparedStatement statement = conn.prepareStatement("select count(*) playCount from (select playhistory.songId, genreId from songs,playhistory where songs.songId = playhistory.songid and genreId = ? )");
7 selectIdStatement = connection.prepareStatement(
8 connection.prepareStatement(
9 PreparedStatement selp = con.prepareStatement(
10 ("delete from permissions where object= ?");
11 PreparedStatement pstmt = con.prepareStatement("SELECT * FROM testsps WHERE id = ? or id = ?");
12 ps = conn.prepareStatement( rtp(DELETE_VOLATILE_FIRED_TRIGGERS) );
13 PreparedStatement stmt = conn.prepareStatement(query);
14 PreparedStatement pstmt = getAvailableConnection().prepareStatement(
15 PreparedStatement pstmt = conn.prepareStatement(query);
16 mockConnection.prepareStatement(UPDATE);
17 PreparedStatement ps = conn.prepareStatement(sql);
18 prepared.put(name, db.prepareStatement(sql));
19 ps = connection.prepareStatement(sql);
20 PreparedStatement ps = conn.prepareStatement(sql);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.