Top Description Methods
org.springframework.r2dbc.core

public Interface SqlProvider

Known Direct Subinterfaces
org.springframework.r2dbc.core.ConnectionFunction
Imports
org.springframework.lang.Nullable

Interface to be implemented by objects that can provide SQL strings.

Typically implemented by objects that want to expose the SQL they use to create their statements, to allow for better contextual information in case of exceptions.

Author
Mark Paluch
Since
5.3

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the SQL string, or null if not available
getSql
()

Return the SQL string for this object, i.e. typically the SQL used for creating statements.

Method Detail

getSqlback to summary
public String getSql()

Return the SQL string for this object, i.e. typically the SQL used for creating statements.

Returns:String

the SQL string, or null if not available

Annotations
@Nullable