Esempio n. 1
0
 public void updateTopic(TopicData topic) throws Exception {
   fUpdateTopicContent.setString(1, topic.getContent());
   fUpdateTopicContent.setString(2, topic.getName());
   fUpdateTopicContent.execute();
 }
Esempio n. 2
0
 public void insertTopic(TopicData topic) throws Exception {
   fInsertTopic.setString(1, topic.getName());
   fInsertTopic.setString(2, topic.getContent());
   fInsertTopic.execute();
 }