{code:java}/** * Extension point for rendering parameter markers into SQL strings for PreparedStatements. * ... */ interface ParameterMarkerStrategy { /** * Create a parameter marker for the parameter at the given position * * @param The 1-based position of the parameter in the statement */ String createParameterMarker(int position); }{code}
I go back and forth about the {{JdbcType}} argument. Just seems like it would ultimately be useful, but (1) none of the code uses it and (2) in many code paths ({{SimpleSelect}} and friends, native-query,..) that information is not even available. |
|