Interface SqlProvider


public interface SqlProvider
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.

Since:
5.3
Author:
Mark Paluch
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the SQL string for this object, i.e.
  • Method Details

    • getSql

      @Nullable String getSql()
      Return the SQL string for this object, i.e. typically the SQL used for creating statements.
      Returns:
      the SQL string, or null if not available