Project: mule
Issue MULE-7440: New database: query template's parameter types are not resolved
All queries in the DB connector are defined using a template which is not related to a particular DB instance. The template defines the SQL query, the type of the query and the parameter definition and default values. Parameter defined in the template have an "UNKNOWN" type, because they are not related to a DB instance. Because parameters have unknown type, DB connector uses an specific JDBC API call to set/get the parameter values. This causes errors when the driver is not able to convert the parameter values to the type expected in the DB.
Story points: 8