Package com.glyart.asql.common.defaults
Class DefaultSetter
- java.lang.Object
-
- com.glyart.asql.common.defaults.DefaultSetter
-
- All Implemented Interfaces:
PreparedStatementSetter
public class DefaultSetter extends Object implements PreparedStatementSetter
-
-
Constructor Summary
Constructors Constructor Description DefaultSetter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getSQlType(Object param)
Gets the related type of a given parameter.void
setValues(PreparedStatement ps)
Sets parameter values into the given active PreparedStatement.
-
-
-
Method Detail
-
setValues
public void setValues(@NotNull PreparedStatement ps) throws SQLException
Description copied from interface:PreparedStatementSetter
Sets parameter values into the given active PreparedStatement.- Specified by:
setValues
in interfacePreparedStatementSetter
- Parameters:
ps
- the PreparedStatement to invoke setter methods on- Throws:
SQLException
- if an SQLException is encountered while trying to set values (no need to catch)
-
-