Esempio n. 1
0
 /**
  * This method was generated by Apache iBATIS ibator. This method corresponds to the database
  * table cementerio.cementerio
  *
  * @throws SQLException
  * @ibatorgenerated Thu Jun 02 17:44:12 CEST 2011
  */
 public int deleteByPrimaryKey(Integer id) throws SQLException {
   Cementerio key = new Cementerio();
   key.setId(id);
   int rows =
       getSqlMapClientTemplate()
           .delete("cementerio_cementerio.ibatorgenerated_deleteByPrimaryKey", key);
   return rows;
 }
Esempio n. 2
0
 /**
  * This method was generated by Apache iBATIS ibator. This method corresponds to the database
  * table cementerio.cementerio
  *
  * @throws SQLException
  * @ibatorgenerated Thu Jun 02 17:44:12 CEST 2011
  */
 public Cementerio selectByPrimaryKey(Integer id) throws SQLException {
   Cementerio key = new Cementerio();
   key.setId(id);
   Cementerio record =
       (Cementerio)
           getSqlMapClientTemplate()
               .queryForObject("cementerio_cementerio.ibatorgenerated_selectByPrimaryKey", key);
   return record;
 }