@Override public long create(QNameFilter filter) { Long id = super.create(filter); filter.setId(id); insertQnames(filter); return id; }
public QNameFilter mapRow(ResultSet rs, int rowNum) throws SQLException { QNameFilter filter = new QNameFilter(); filter.setId(rs.getLong("id")); filter.setName(rs.getString("name")); filter.setWorkspaceId(rs.getLong("workspace_id")); return filter; }