|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensolaris.opengrok.jdbc.StatementCreator
org.opensolaris.opengrok.jdbc.PreparedQuery
public final class PreparedQuery
A StatementCreator for statements that create ResultSets
with specified type, concurrency and holdability.
| Constructor Summary | |
|---|---|
PreparedQuery(java.lang.String sql)
Creator for a statement which returns forward-only, read-only, non-holdable result sets. |
|
PreparedQuery(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
Creator for a statement which returns non-holdable result sets with the specified type and concurrency. |
|
PreparedQuery(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Creator for a statement which returns result sets with the specified type, concurrency and holdability. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PreparedQuery(java.lang.String sql)
sql - the SQL text for the statement
public PreparedQuery(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
sql - the SQL text for the statementresultSetType - the type of the result setresultSetConcurrency - the concurrency of the result set
public PreparedQuery(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
sql - the SQL text for the statementresultSetType - the type of the result setresultSetConcurrency - the concurrency of the result setresultSetHoldability - the holdability of the result set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||