# Interface SQLTemplateTranslator

All Known Implementing Classes:
  `DefaultSQLTemplateTranslator`

public interface SQLTemplateTranslator

Since:
  4.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TranslatedSQL`
  `translate(String template, List<Object> positionalParameters, DbAdapter adapter)`
  Builds and returns a SQLStatement based on SQL template String and a list of positional parameters.
  `TranslatedSQL`
  `translate(String template, Map<String,?> parameters, DbAdapter adapter)`
  Builds and returns a SQLStatement based on SQL template String and a map of parameters.

- ## Method Details

  - ### translate

    TranslatedSQL translate(String template, Map<String,?> parameters, DbAdapter adapter)
    Builds and returns a SQLStatement based on SQL template String and a map of parameters.
    Since:
      5.0

  - ### translate

    TranslatedSQL translate(String template, List<Object> positionalParameters, DbAdapter adapter)
    Builds and returns a SQLStatement based on SQL template String and a list of positional parameters.
    Since:
      5.0