Пример #1
0
 /**
  * This method was generated by Abator for iBATIS. This method corresponds to the database table
  * RTP_PAYLOAD
  *
  * @abatorgenerated Mon May 07 14:46:18 CST 2012
  */
 public int deleteByPrimaryKey(String id) {
   RtpPayload key = new RtpPayload();
   key.setId(id);
   int rows =
       getSqlMapClientTemplate().delete("RTP_PAYLOAD.abatorgenerated_deleteByPrimaryKey", key);
   return rows;
 }
Пример #2
0
 /**
  * This method was generated by Abator for iBATIS. This method corresponds to the database table
  * RTP_PAYLOAD
  *
  * @abatorgenerated Mon May 07 14:46:18 CST 2012
  */
 public RtpPayload selectByPrimaryKey(String id) {
   RtpPayload key = new RtpPayload();
   key.setId(id);
   RtpPayload record =
       (RtpPayload)
           getSqlMapClientTemplate()
               .queryForObject("RTP_PAYLOAD.abatorgenerated_selectByPrimaryKey", key);
   return record;
 }