sqlg2.db
Interface NullSetter
public interface NullSetter
Interface which is used when custom-mapped parameters have null
value. For complex types
(such as arrays or objects) PreparedStatement.setNull(int, int)
is not sufficient, so
this interface should be implemented.
Method Summary |
void |
setNull(java.sql.PreparedStatement stmt,
int i,
java.lang.Class<?> cls)
|
setNull
void setNull(java.sql.PreparedStatement stmt,
int i,
java.lang.Class<?> cls)
throws java.sql.SQLException
- Throws:
java.sql.SQLException