コード例 #1
0
ファイル: News.java プロジェクト: mateusbpontes/scc263
 public static News findById(Database db, int id) throws Exception {
   return News.next(
       db.query("select id, tmsp, headline, body, email from tbNews where id = " + id));
 }