Class SqlHelper

java.lang.Object
org.apache.camel.component.sql.SqlHelper

public final class SqlHelper extends Object
  • Method Details

    • resolveQuery

      public static String resolveQuery(org.apache.camel.CamelContext camelContext, String query, String placeholder) throws org.apache.camel.NoTypeConversionAvailableException, IOException
      Resolve the query by loading the query from the classpath or file resource if needed.
      Throws:
      org.apache.camel.NoTypeConversionAvailableException
      IOException
    • resolvePlaceholders

      public static String resolvePlaceholders(String query, String placeholder)
    • lookupParameter

      public static Object lookupParameter(String nextParam, org.apache.camel.Exchange exchange, Object batchBody)
    • hasParameter

      public static boolean hasParameter(String nextParam, org.apache.camel.Exchange exchange, Object body)