Class Parameters
- java.lang.Object
-
- com.identityworksllc.iiq.common.query.Parameters
-
public class Parameters extends Object
Utility class for setting the parameters on aStatement
based on the input, invoking the typed setXYZ methods (e.g., setString for a string).Unrecognized input types will be set via
setString
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
setupParameters(PreparedStatement stmt, Object[] parameters)
Set up the given parameters in the prepared statmeent
-
-
-
Method Detail
-
setupParameters
public static void setupParameters(PreparedStatement stmt, Object[] parameters) throws SQLException
Set up the given parameters in the prepared statmeent- Parameters:
stmt
- The statementparameters
- The parameters- Throws:
SQLException
- if any failures occur setting parameters
-
-