Parameter objects.
Result, Row, Blob, Clob, Parameter
| Modifier and Type | Method and Description |
|---|---|
| public Statement | |
| public Statement | |
| public Statement | |
| public Statement | |
| public Statement | |
| public Publisher | |
| public default Statement | |
| public default Statement |
| add | back to summary |
|---|---|
| public Statement add() Save the current binding and create a new one to indicate the statement should be executed again with new bindings provided through subsequent calls to
Statement statement = connection.createStatement("INSERT INTO books (author, publisher) VALUES ($1, $2)");
statement.bind(0, "John Doe").bind(1, "Happy Books LLC").add();
statement.bind(0, "Jane Doe").bind(1, "Scary Books Inc");
statement.execute();
| |
| bind | back to summary |
|---|---|
| public Statement bind(int index, Object value) Bind a non-
| |
| bind | back to summary |
|---|---|
| public Statement bind(String name, Object value) Bind a non-
| |
| bindNull | back to summary |
|---|---|
| public Statement bindNull(int index, Class<?> type) Bind a
| |
| bindNull | back to summary |
|---|---|
| public Statement bindNull(String name, Class<?> type) Bind a
| |
| execute | back to summary |
|---|---|
| public Publisher Executes one or more SQL statements and returns the
| |
| fetchSize | back to summary |
|---|---|
| public default Statement fetchSize(int rows) Configures The default implementation of this method is a no op and the default value is zero.
| |
| returnGeneratedValues | back to summary |
|---|---|
| public default Statement returnGeneratedValues(String... columns) Configures The default implementation of this method is a no-op.
| |