Connection.addPreparedStatement

void addPreparedStatement(gda.statement.Statement gdaStmt, gda.pstmt.PStmt preparedStmt)

Declares that prepared_stmt is a prepared statement object associated to gda_stmt within the connection (meaning the connection increments the reference counter of prepared_stmt).

If gda_stmt changes or is destroyed, the the association will be lost and the connection will lose the reference it has on prepared_stmt.

Parameters

gdaStmta #GdaStatement object
preparedStmta prepared statement object (as a #GdaPStmt object, or more likely a descendant)