sql.append("(community_id, project_id, active, ");
sql.append("status, created, expires) values ");
sql.append("(?, ?, ?, ?, now(), ?) ");
QueryParser qp = new QueryParser(sql.toString());
qp.addPreparedStmtElementDefinition(community.getCommunityId());
qp.addPreparedStmtElementDefinition(community.getProjectId());
qp.addPreparedStmtElementDefinition(community.isActive());
qp.addPreparedStmtElementDefinition(QueryParserElement.INT, community
.getStatus() <= 0 ? null : community.getStatus());
qp.addPreparedStmtElementDefinition(QueryParserElement.TIMESTAMP,