Typically implemented by PreparedStatementCreators, CallableStatementCreators and StatementCallbacks that want to expose the SQL they use to create their statements, to allow for better contextual information in case of exceptions.
PreparedStatementCreator, CallableStatementCreator, StatementCallback
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the SQL string, ornull if not availableReturn the SQL string for this object, i.e. typically the SQL used for creating statements. |
| getSql | back to summary |
|---|---|
| public String getSql() Return the SQL string for this object, i.e. typically the SQL used for creating statements. | |