|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Statement that contains placeholders for values to be bound at runtime. In effect, this allows a PreparedStatement to be used multiple times with different bindings to create new executable Statements.
| Method Summary | |
BoundStatement |
bind(java.lang.Object[] values)
Binds placeholder values in the PreparedStatement with the values provided in the array in the order in which they appear. |
BoundStatement |
bind(java.lang.Object[] values,
java.lang.String bindingId)
Binds placeholder values in the order in which they appear in the array parameter. |
BoundStatement |
getBoundStatement(java.lang.String bindingId)
Returns BoundStatement identfied by bindingId |
java.util.Collection |
getBoundStatements()
Returns read-only Collection of all BoundStatements being managed by this PreparedStatement. |
int |
getParameterCount()
Returns the number of placeholder values which must be supplied to bind the statement (i.e. the required length of the values Object array provided to the bind method). |
| Methods inherited from interface com.bea.wlevs.ede.api.Statement |
destroy,
getId,
getQuery,
start,
stop |
| Methods inherited from interface com.bea.wlevs.ede.api.EventSender |
sendEvent |
| Method Detail |
public BoundStatement bind(java.lang.Object[] values)
throws StatementException
values - values used to bind placeholders
public BoundStatement bind(java.lang.Object[] values,
java.lang.String bindingId)
throws StatementException
values - values provided to bind placeholdersidentifier - for the newly created
binding (required to be unique within the
prepared statement).public BoundStatement getBoundStatement(java.lang.String bindingId)
bindingId - identifier previously supplied
to the bind function.public java.util.Collection getBoundStatements()
public int getParameterCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||