예제 #1
0
 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);
 }
예제 #2
0
 public VividList listByRequest(WordRequest request) throws Exception {
   String sql =
       "select * from "
           + getTableName()
           + " where langId in ("
           + VividSqlBuilder.escape(request.langIds)
           + ")";
   return this.query(sql);
 }