public VividList findBySpellingLang(String spelling, String langId) throws Exception { String sql = "select * from " + getTableName() + " where spelling=" + VividSqlBuilder.escape(spelling) + " and langId=" + VividSqlBuilder.escape(langId); return query(sql); }
public VividList listByRequest(WordRequest request) throws Exception { String sql = "select * from " + getTableName() + " where langId in (" + VividSqlBuilder.escape(request.langIds) + ")"; return this.query(sql); }