Method prepareStatement(String sql, int resultSetType, int resultSetConcurrency)
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 return new PoolablePreparedStatement(getDelegate().prepareStatement(key._sql,key._resultSetType.intValue(),key._resultSetConcurrency.intValue()),key,_pstmtPool,this);
2 stat = conn.prepareStatement(sql, java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE, java.sql.ResultSet.CONCUR_UPDATABLE);
3 _ps = _connection.prepareStatement(sql, resultSetType, resultSetConcurrency);
4 connection.prepareStatement(key._sql,
5 m_pstmt = conn.prepareStatement (sql, resultSetType, resultSetConcurrency);
6 mockConnection.prepareStatement(SELECT_ID_FORENAME_WHERE, ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
7 PreparedStatement pstmt = con.prepareStatement(sql, ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
8 stmt = databaseCnx.prepareStatement(psql, rType, conc);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.