@Override public void executeSetPreparedStatement(Object pstmt, int index, Object data) throws Exception { if (data == null) { ((PreparedStatement) pstmt).setNull(index, Types.CHAR); } else { ((PreparedStatement) pstmt).setString(index, SqlUtils.getString((Boolean) data)); } }
@Override public Object executeGetResult(Object rs, int index) throws Exception { return SqlUtils.getBoolean(((ResultSet) rs).getString(index)); }